home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 February (DVD) / PCWorld_2008-02_DVD.iso / v cisle / PHP / PHP.exe / EasyPHP-2.0b1-setup.exe / {app} / phpmyadmin / Documentation.txt < prev    next >
Encoding:
Text File  |  2006-11-18  |  147.0 KB  |  3,211 lines

  1.   * Top
  2.   * Requirements
  3.   * Introduction
  4.   * Installation
  5.   * Setup script
  6.   * Configuration
  7.   * Transformations
  8.   * FAQ
  9.   * Developers
  10.   * Credits
  11.   * Translators
  12.   * Glossary
  13.  
  14. phpMyAdmin 2.9.1.1 Documentation
  15.  
  16.   * phpMyAdmin homepage
  17.   * SourceForge phpMyAdmin project page
  18.   * Official phpMyAdmin wiki
  19.   * Local documents:
  20.       + Version history: ChangeLog
  21.       + General notes: README
  22.       + License: LICENSE
  23.   * Documentation version: $Id: Documentation.html 9733 2006-11-19 00:16:45Z
  24.     lem9 $
  25.  
  26. Requirements
  27.  
  28.   * PHP
  29.       + You need PHP 4.1.0 or newer, with session support (see FAQ 1.31)
  30.       + You need GD2 support in PHP to display inline thumbnails of JPEGs
  31.         ("image/jpeg: inline") with their original aspect ratio
  32.       + You need PHP 4.3.0 or newer to use the "text/plain: external"
  33.         MIME-based transformation
  34.   * MySQL 3.23.32 or newer (details);
  35.   * Not really a requirement but a strong suggestion: if you are using the
  36.     "cookie" authentication method, having the mcrypt PHP extension on your web
  37.     server accelerates not only the login phase but every other action that you
  38.     do in phpMyAdmin.
  39.   * Web browser with cookies enabled.
  40.  
  41. Introduction
  42.  
  43. phpMyAdmin can manage a whole MySQL server (needs a super-user) as well as a
  44. single database. To accomplish the latter you'll need a properly set up MySQL
  45. user who can read/write only the desired database. It's up to you to look up
  46. the appropriate part in the MySQL manual.
  47.  
  48. Currently phpMyAdmin can:
  49.  
  50.   * browse and drop databases, tables, views, fields and indexes
  51.   * create, copy, drop, rename and alter databases, tables, fields and indexes
  52.   * maintenance server, databases and tables, with proposals on server
  53.     configuration
  54.   * execute, edit and bookmark any SQL-statement, even batch-queries
  55.   * load text files into tables
  56.   * create^1 and read dumps of tables
  57.   * export^1 data to various formats: CSV, XML, PDF, ISO/IEC 26300 -
  58.     OpenDocument Text and Spreadsheet, Word, Excel and L^AT[E]X formats
  59.   * administer multiple servers
  60.   * manage MySQL users and privileges
  61.   * check referential integrity in MyISAM tables
  62.   * using Query-by-example (QBE), create complex queries automatically
  63.     connecting required tables
  64.   * create PDF graphics of your Database layout
  65.   * search globally in a database or a subset of it
  66.   * transform stored data into any format using a set of predefined functions,
  67.     like displaying BLOB-data as image or download-link
  68.   * support InnoDB tables and foreign keys (see FAQ 3.6)
  69.   * support mysqli, the improved MySQL extension (see FAQ 1.17)
  70.   * communicate in 50 different languages
  71.  
  72. A word about users:
  73.  
  74. Many people have difficulty understanding the concept of user management with
  75. regards to phpMyAdmin. When a user logs in to phpMyAdmin, that username and
  76. password are passed directly to MySQL. phpMyAdmin does no account management on
  77. its own (other than allowing one to manipulate the MySQL user account
  78. information); all users must be valid MySQL users.
  79.  
  80. ^1) phpMyAdmin can compress (Zip, GZip -RFC 1952- or Bzip2 formats) dumps and
  81. CSV exports if you use PHP with Zlib support (--with-zlib) and/or Bzip2 support
  82. (--with-bz2). Proper support may also need changes in php.ini.
  83.  
  84. Installation
  85.  
  86.  1. Quick Install
  87.  2. Setup script usage
  88.  3. Linked-tables infrastructure
  89.  4. Upgrading from an older version
  90.  5. Using authentication modes
  91.  
  92. phpMyAdmin does not apply any special security methods to the MySQL database
  93. server. It is still the system administrator's job to grant permissions on the
  94. MySQL databases properly. phpMyAdmin's "Privileges" page can be used for this.
  95.  
  96. Warning for Mac users:
  97. if you are on a Mac OS version before OS X, StuffIt unstuffs with Mac formats.
  98. So you'll have to resave as in BBEdit to Unix style ALL phpMyAdmin scripts
  99. before uploading them to your server, as PHP seems not to like Mac-style end of
  100. lines character ("\r").
  101.  
  102. Quick Install
  103.  
  104.  1. Untar or unzip the distribution (be sure to unzip the subdirectories): tar
  105.     -xzvf phpMyAdmin_x.x.x.tar.gz in your webserver's document root. If you
  106.     don't have direct access to your document root, put the files in a
  107.     directory on your local machine, and, after step 3, transfer the directory
  108.     on your web server using, for example, ftp.
  109.  2. Ensure that all the scripts have the appropriate owner (if PHP is running
  110.     in safe mode, having some scripts with an owner different from the owner of
  111.     other scripts will be a problem). See FAQ 4.2 and FAQ 1.26 for suggestions.
  112.  3. Now you must configure your installation. There are two methods that can be
  113.     used. Traditionally, users have hand-edited a copy of config.inc.php, but
  114.     now a wizard-style setup script is provided for those who prefer a
  115.     graphical installation. Creating a config.inc.php is still a quick way to
  116.     get started and needed for some advanced features.
  117.       + To manually create the file, simply use your text editor to create the
  118.         file config.inc.php (you can copy config.sample.inc.php to get minimal
  119.         configuration file) in the main (top-level) phpMyAdmin directory (the
  120.         one that contains index.php). phpMyAdmin first loads libraries/
  121.         config.default.php and then overrides those values with anything found
  122.         in config.inc.php. If the default value is okay for a particular
  123.         setting, there is no need to include it in config.inc.php. You'll need
  124.         a few directives to get going, a simple configuration may look like
  125.         this:
  126.  
  127.         <?php
  128.         $cfg['blowfish_secret'] = 'ba17c1ec07d65003';  // use here a value of your choice
  129.  
  130.         $i=0;
  131.         $i++;
  132.         $cfg['Servers'][$i]['auth_type']     = 'cookie';
  133.         ?>
  134.  
  135.         Or, if you prefer to not be prompted every time you log in:
  136.  
  137.         <?php
  138.  
  139.         $i=0;
  140.         $i++;
  141.         $cfg['Servers'][$i]['user']          = 'root';
  142.         $cfg['Servers'][$i]['password']      = 'cbb74bc'; // use here your password
  143.         ?>
  144.  
  145.         For a full explanation of possible configuration values, see the
  146.         Configuration Section of this document.
  147.       + Instead of manually editing config.inc.php, you can use the Setup
  148.         Script. First you must manually create a folder config in the
  149.         phpMyAdmin directory. This is a security measure. On a Linux/Unix
  150.         system you can use the following commands:
  151.  
  152.         cd phpMyAdmin
  153.         mkdir config                        # create directory for saving
  154.         chmod o+rw config                   # give it world writable permissions
  155.  
  156.         And to edit an existing configuration, copy it over first:
  157.  
  158.         cp config.inc.php config/           # copy current configuration for editing
  159.         chmod o+w config/config.inc.php     # give it world writable permissions
  160.  
  161.         On other platforms, simply create the folder and ensure that your web
  162.         server has read and write access to it. FAQ 1.26 can help with this.
  163.  
  164.         Next, open scripts/setup.php in your browser. Note that changes are not
  165.         saved to disk until explicitly choose Save from the Configuration area
  166.         of the screen. Normally the script saves the new config.inc.php to the
  167.         config/ directory, but if the webserver does not have the proper
  168.         permissions you may see the error "Cannot load or save configuration."
  169.         Ensure that the config/ directory exists and has the proper permissions
  170.         - or use the Download link to save the config file locally and upload
  171.         (via FTP or some similar means) to the proper location.
  172.  
  173.         Once the file has been saved, it must be moved out of the config/
  174.         directory and the permissions must be reset, again as a security
  175.         measure:
  176.  
  177.         mv config/config.inc.php .         # move file to current directory
  178.         chmod o-rw config.inc.php          # remove world read and write permissions
  179.  
  180.         Now the file is ready to be used. You can choose to review or edit the
  181.         file with your favorite editor, if you prefer to set some advanced
  182.         options which the setup script does not provide.
  183.  4. If you are using the auth_type "config", it is suggested that you protect
  184.     the phpMyAdmin installation directory because using config does not require
  185.     a user to enter a password to access the phpMyAdmin installation. Use of an
  186.     alternate authentication method is recommended, for example with HTTP?AUTH
  187.     in a .htaccess file or switch to using auth_type cookie or http. See the
  188.     multi?user sub?section of this FAQ for additional information, especially
  189.     FAQ 4.4.
  190.  5. Open the main phpMyAdmin directory in your browser. phpMyAdmin should now
  191.     display a welcome screen and your databases, or a login dialog if using
  192.     HTTP or cookie authentication mode.
  193.  6. You should deny access to the ./libraries subfolder in your webserver
  194.     configuration. For Apache you can use supplied .htaccess file in that
  195.     folder, for other webservers, you should configure this yourself. Such
  196.     configuration prevents from possible path exposure and cross side scripting
  197.     vulnerabilities that might happen to be found in that code.
  198.  
  199. Linked-tables infrastructure
  200.  
  201. For a whole set of new features (bookmarks, comments, SQL-history,
  202. PDF-generation, field contents transformation, etc.) you need to create a set
  203. of special tables. Those tables can be located in your own database, or in a
  204. central database for a multi-user installation (this database would then be
  205. accessed by the controluser, so no other user should have rights to it).
  206.  
  207. Please look at your ./scripts/ directory, where you should find a file called
  208. create_tables.sql. (If you are using a Windows server, pay special attention to
  209. FAQ 1.23).
  210.  
  211. If your MySQL server's version is 4.1.2 or later, please use ./scripts/
  212. create_tables_mysql_4_1_2+.sql instead, for a new installation.
  213.  
  214. If you already had this infrastructure and upgraded to MySQL 4.1.2 or later,
  215. please use ./scripts/upgrade_tables_mysql_4_1_2+.sql.
  216.  
  217. You can use your phpMyAdmin to create the tables for you. Please be aware that
  218. you may need special (administrator) privileges to create the database and
  219. tables, and that the script may need some tuning, depending on the database
  220. name.
  221.  
  222. After having imported the ./scripts/create_tables.sql file, you should specify
  223. the table names in your ./config.inc.php file. The directives used for that can
  224. be found in the Configuration section. You will also need to have a controluser
  225. with the proper rights to those tables (see section Using authentication modes
  226. below).
  227.  
  228. Upgrading from an older version
  229.  
  230. Simply copy ./config.inc.php from your previous installation into the newly
  231. unpacked one. Configuration files from very old versions (2.3.0 or older) may
  232. require some tweaking as some options have been changed or removed.
  233.  
  234. You should not copy libraries/config.default.php over config.inc.php because
  235. the default configuration file is version-specific.
  236.  
  237. If you have upgraded your MySQL server from a version older than 4.1.2 to
  238. version 4.1.2 or newer and if you use the pmadb/linked table infrastructure,
  239. you should run the SQL script found in scripts/upgrade_tables_mysql_4_1_2+.sql.
  240.  
  241. Using authentication modes
  242.  
  243.   * HTTP and cookie authentication modes are recommended in a multi-user
  244.     environment where you want to give users access to their own database and
  245.     don't want them to play around with others.
  246.     Nevertheless be aware that MS Internet Explorer seems to be really buggy
  247.     about cookies, at least till version 6, and PHP 4.1.1 is also a bit buggy
  248.     in this area!
  249.     Even in a single-user environment, you might prefer to use HTTP or cookie
  250.     mode so that your user/password pair are not in clear in the configuration
  251.     file.
  252.   * HTTP and cookie authentication modes are more secure: the MySQL login
  253.     information does not need to be set in the phpMyAdmin configuration file
  254.     (except possibly for the controluser).
  255.     However, keep in mind that the password travels in plain text, unless you
  256.     are using the HTTPS protocol.
  257.     In cookie mode, the password is stored, encrypted with the blowfish
  258.     algorithm, in a temporary cookie.
  259.   * Note: starting with phpMyAdmin 2.6.1, this section is only applicable if
  260.     your MySQL server is older than 4.1.2, or is running with
  261.     --skip-show-database.
  262.  
  263.     For 'HTTP' and 'cookie' modes, phpMyAdmin needs a controluser that has only
  264.     the SELECT privilege on the `mysql`.`user` (all columns except `Password`),
  265.     `mysql`.`db` (all columns), `mysql`.`host` (all columns) and `mysql`.
  266.     `tables_priv` (all columns except `Grantor` and `Timestamp`) tables.
  267.     You must specify the details for the controluser in the config.inc.php file
  268.     under the $cfg['Servers'][$i]['controluser'] and $cfg['Servers'][$i]
  269.     ['controlpass'] settings.
  270.     The following example assumes you want to use pma as the controluser and
  271.     pmapass as the controlpass, but this is only an example: use something else
  272.     in your file! Input these statements from the phpMyAdmin SQL Query window
  273.     or mysql command?line client.
  274.     Of course you have to replace localhost with the webserver's host if it's
  275.     not the same as the MySQL server's one.
  276.  
  277.     GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY 'pmapass';
  278.     GRANT SELECT (
  279.         Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv,
  280.         Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,
  281.         File_priv, Grant_priv, References_priv, Index_priv, Alter_priv,
  282.         Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv,
  283.         Execute_priv, Repl_slave_priv, Repl_client_priv
  284.         ) ON mysql.user TO 'pma'@'localhost';
  285.     GRANT SELECT ON mysql.db TO 'pma'@'localhost';
  286.     GRANT SELECT ON mysql.host TO 'pma'@'localhost';
  287.     GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv)
  288.         ON mysql.tables_priv TO 'pma'@'localhost';
  289.  
  290.     If you are using an old MySQL version (below 4.0.2), please replace the
  291.     first GRANT SELECT query by this one:
  292.  
  293.     GRANT SELECT (
  294.         Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv,
  295.         Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,
  296.         File_priv, Grant_priv, References_priv, Index_priv, Alter_priv
  297.         ) ON mysql.user TO 'pma'@'localhost';
  298.  
  299.     ... and if you want to use the many new relation and bookmark features:
  300.  
  301.     GRANT SELECT, INSERT, UPDATE, DELETE ON <pma_db>.* TO 'pma'@'localhost';
  302.  
  303.     (this of course requires that your linked-tables infrastructure be set up).
  304.     Of course, the above queries only work if your MySQL version supports the
  305.     GRANT command. This is the case since 3.22.11.
  306.   * Then each of the true users should be granted a set of privileges on a set
  307.     of particular databases. Normally you shouldn't give global privileges to
  308.     an ordinary user, unless you understand the impact of those privileges (for
  309.     example, you are creating a superuser).
  310.     For example, to grant the user real_user with all privileges on the
  311.     database user_base:
  312.  
  313.     GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real_password';
  314.  
  315.     What the user may now do is controlled entirely by the MySQL user
  316.     management system.
  317.     With HTTP or cookie authentication mode, you don't need to fill the user/
  318.     password fields inside the $cfg['Servers'] array.
  319.  
  320. 'HTTP' authentication mode
  321.  
  322.   * Uses HTTP Basic authentication method and allows you to log in as any valid
  323.     MySQL user.
  324.   * Is supported with most PHP configurations. For IIS (ISAPI) support using
  325.     CGI PHP see FAQ 1.32, for using with Apache CGI see FAQ 1.35.
  326.   * See also FAQ 4.4 about not using the .htaccess mechanism along with 'HTTP'
  327.     authentication mode.
  328.  
  329. 'cookie' authentication mode
  330.  
  331.   * You can use this method as a replacement for the HTTP authentication (for
  332.     example, if you're running IIS).
  333.   * Obviously, the user must enable cookies in the browser, but this is now a
  334.     requirement for all authentication modes.
  335.   * With this mode, the user can truly log out of phpMyAdmin and log in back
  336.     with the same username.
  337.   * If you want to log in to arbitrary server see $cfg['AllowArbitraryServer']
  338.     directive.
  339.   * As mentioned in the requirements section, having the mcrypt extension will
  340.     speed up access considerably, but is not required.
  341.  
  342. 'config' authentication mode
  343.  
  344.   * This mode is the less secure one because it requires you to fill the $cfg
  345.     ['Servers'][$i]['user'] and $cfg['Servers'][$i]['password'] fields (and as
  346.     a result, anyone who can read your config.inc.php can discover your
  347.     username and password).
  348.     But you don't need to setup a "controluser" here: using the $cfg['Servers']
  349.     [$i]['only_db'] might be enough.
  350.   * In the ISP FAQ section, there is an entry explaining how to protect your
  351.     configuration file.
  352.   * For additional security in this mode, you may wish to consider the Host
  353.     authentication $cfg['Servers'][$i]['AllowDeny']['order'] and $cfg
  354.     ['Servers'][$i]['AllowDeny']['rules'] configuration directives.
  355.   * Unlike cookie and http, does not require a user to log in when first
  356.     loading the phpMyAdmin site. This is by design but could allow any user to
  357.     access your installation. Use of some restriction method is suggested,
  358.     perhaps a .htaccess file with the HTTP-AUTH directive or disallowing
  359.     incoming HTTP requests at one?s router or firewall will suffice (both of
  360.     which are beyond the scope of this manual but easily searchable with
  361.     Google).
  362.  
  363. Configuration
  364.  
  365. Warning for Mac users: PHP does not seem to like Mac end of lines character ("\
  366. r"). So ensure you choose the option that allows to use the *nix end of line
  367. character ("\n") in your text editor before saving a script you have modified.
  368.  
  369. Configuration note: Almost all configurable data is placed in config.inc.php.
  370. If this file does not exist, please refer to the Quick install section to
  371. create one. This file only needs to contain the parameters you want to change
  372. from their corresponding default value in libraries/config.default.php.
  373.  
  374. The parameters which relate to design (like colors) are placed in themes/
  375. themename/layout.inc.php. You might also want to create config.footer.inc.php
  376. and config.header.inc.php files to add your site specific code to be included
  377. on start and end of each page.
  378.  
  379. $cfg['PmaAbsoluteUri'] string
  380.     Sets here the complete URL (with full path) to your phpMyAdmin
  381.     installation's directory. E.g. http://www.your_web.net/
  382.     path_to_your_phpMyAdmin_directory/. Note also that the URL on some web
  383.     servers are case?sensitive. Don?t forget the trailing slash at the end.
  384.  
  385.     Starting with version 2.3.0, it is advisable to try leaving this blank. In
  386.     most cases phpMyAdmin automatically detects the proper setting. Users of
  387.     port forwarding will need to set PmaAbsoluteUri (more info). A good test is
  388.     to browse a table, edit a row and save it. There should be an error message
  389.     if phpMyAdmin is having trouble auto?detecting the correct value. If you
  390.     get an error that this must be set or if the autodetect code fails to
  391.     detect your path, please post a bug report on our bug tracker so we can
  392.     improve the code.
  393. $cfg['PmaNoRelation_DisableWarning'] boolean
  394.     Starting with version 2.3.0 phpMyAdmin offers a lot of features to work
  395.     with master / foreign ? tables (see $cfg['Servers'][$i]['pmadb']).
  396.     If you tried to set this up and it does not work for you, have a look on
  397.     the "Structure" page of one database where you would like to use it. You
  398.     will find a link that will analyze why those features have been disabled.
  399.     If you do not want to use those features set this variable to TRUE to stop
  400.     this message from appearing.
  401. $cfg['blowfish_secret'] string
  402.     The "cookie" auth_type uses blowfish algorithm to encrypt the password.
  403.     If you are using the "cookie" auth_type, enter here a random passphrase of
  404.     your choice. It will be used internally by the blowfish algorithm: you
  405.     won?t be prompted for this passphrase. The maximum number of characters for
  406.     this parameter seems to be 46.
  407. $cfg['Servers'] array
  408.     Since version 1.4.2, phpMyAdmin supports the administration of multiple
  409.     MySQL servers. Therefore, a $cfg['Servers']-array has been added which
  410.     contains the login information for the different servers. The first $cfg
  411.     ['Servers'][$i]['host'] contains the hostname of the first server, the
  412.     second $cfg['Servers'][$i]['host'] the hostname of the second server, etc.
  413.     In ./libraries/config.default.php, there is only one section for server
  414.     definition, however you can put as many as you need in ./config.inc.php,
  415.     copy that block or needed parts (you don't have to define all settings,
  416.     just those you need to change).
  417. $cfg['Servers'][$i]['host'] string
  418.     The hostname or IP address of your $i-th MySQL-server. E.g. localhost.
  419. $cfg['Servers'][$i]['port'] string
  420.     The port-number of your $i-th MySQL-server. Default is 3306 (leave blank).
  421.     If you use "localhost" as the hostname, MySQL ignores this port number and
  422.     connects with the socket, so if you want to connect to a port different
  423.     from the default port, use "127.0.0.1" or the real hostname in $cfg
  424.     ['Servers'][$i]['host'].
  425. $cfg['Servers'][$i]['socket'] string
  426.     The path to the socket to use. Leave blank for default.
  427.     To determine the correct socket, check your MySQL configuration or, using
  428.     the mysql command?line client, issue the status command. Among the
  429.     resulting information displayed will be the socket used.
  430. $cfg['Servers'][$i]['connect_type'] string
  431.     What type connection to use with the MySQL server. Your options are
  432.     'socket' and 'tcp'. It defaults to 'tcp' as that is nearly guaranteed to be
  433.     available on all MySQL servers, while sockets are not supported on some
  434.     platforms.
  435.  
  436.     To use the socket mode, your MySQL server must be on the same machine as
  437.     the Web server.
  438. $cfg['Servers'][$i]['extension'] string
  439.     What php MySQL extension to use for the connection. Valid options are:
  440.  
  441.     mysql : The classic MySQL extension. This is the recommended and default
  442.     method at this time.
  443.  
  444.     mysqli : The improved MySQL extension. This extension became available with
  445.     php 5.0.0 and is the recommended way to connect to a server running MySQL
  446.     4.1.x.
  447. $cfg['Servers'][$i]['compress'] boolean
  448.     Whether to use a compressed protocol for the MySQL server connection or not
  449.     (experimental).
  450.     This feature requires PHP >= 4.3.0.
  451. $cfg['Servers'][$i]['controluser'] string
  452.     $cfg['Servers'][$i]['controlpass'] string
  453.     This special account is used for 2 distinct purposes: to make possible all
  454.     relational features (see $cfg['Servers'][$i]['pmadb']) and, for a MySQL
  455.     server older than 4.1.2 or running with --skip-show-database, to enable a
  456.     multi-user installation (HTTP or cookie authentication mode).
  457.  
  458.     When using HTTP or cookie authentication modes (or 'config' authentication
  459.     mode since phpMyAdmin 2.2.1), you need to supply the details of a MySQL
  460.     account that has SELECT privilege on the mysql.user (all columns except
  461.     "Password"), mysql.db (all columns) and mysql.tables_priv (all columns
  462.     except "Grantor" and "Timestamp") tables. This account is used to check
  463.     what databases the user will see at login.
  464.     Please see the install section on "Using authentication modes" for more
  465.     information.
  466.  
  467.     In phpMyAdmin versions before 2.2.5, those were called "stduser/stdpass".
  468. $cfg['Servers'][$i]['auth_type'] string ['HTTP'|'cookie'|'config']
  469.     Whether config or cookie or HTTP authentication should be used for this
  470.     server.
  471.       + 'config' authentication ($auth_type = 'config') is the plain old way:
  472.         username and password are stored in config.inc.php.
  473.       + 'cookie' authentication mode ($auth_type = 'cookie') as introduced in
  474.         2.2.3 allows you to log in as any valid MySQL user with the help of
  475.         cookies. Username and password are stored in cookies during the session
  476.         and password is deleted when it ends. This can also allow you to log in
  477.         in arbitrary server if $cfg['AllowArbitraryServer'] enabled.
  478.       + 'HTTP' authentication (was called 'advanced' in older versions)
  479.         ($auth_type = 'HTTP') as introduced in 1.3.0 allows you to log in as
  480.         any valid MySQL user via HTTP-Auth.
  481.     Please see the install section on "Using authentication modes" for more
  482.     information.
  483. $cfg['Servers'][$i]['user'] string
  484.     $cfg['Servers'][$i]['password'] string
  485.     When using auth_type = 'config', this is the user/password-pair which
  486.     phpMyAdmin will use to connect to the MySQL server. This user/password pair
  487.     is not needed when HTTP or cookie authentication is used and should be
  488.     empty.
  489. $cfg['Servers'][$i]['nopassword'] boolean
  490.     Allow attempt to log in without password when a login with password fails.
  491.     This can be used together with http authentication, when authentication is
  492.     done some other way and phpMyAdmin gets user name from auth and uses empty
  493.     password for connecting to MySQL. Password login is still tried first, but
  494.     as fallback, no password method is tried.
  495. $cfg['Servers'][$i]['only_db'] string or array
  496.     If set to a (an array of) database name(s), only this (these) database(s)
  497.     will be shown to the user. Since phpMyAdmin 2.2.1, this/these database(s)
  498.     name(s) may contain MySQL wildcards characters ("_" and "%"): if you want
  499.     to use literal instances of these characters, escape them (I.E. use 'my\
  500.     _db' and not 'my_db').
  501.     This setting is an efficient way to lower the server load since the latter
  502.     does not need to send MySQL requests to build the available database list.
  503.     But it does not replace the privileges rules of the MySQL database server.
  504.     If set, it just means only these databases will be displayed but not that
  505.     all other databases can't be used.
  506.  
  507.     An example of using more that one database: $cfg['Servers'][$i]['only_db']
  508.     = array('db1', 'db2');
  509.  
  510.     As of phpMyAdmin 2.5.5 the order inside the array is used for sorting the
  511.     databases in the left frame, so that you can individually arrange your
  512.     databases.
  513.     If you want to have certain databases at the top, but don't care about the
  514.     others, you do not need to specify all other databases. Use: $cfg
  515.     ['Servers'][$i]['only_db'] = array('db3', 'db4', '*'); instead to tell
  516.     phpMyAdmin that it should display db3 and db4 on top, and the rest in
  517.     alphabetic order.
  518. $cfg['Servers'][$i]['hide_db'] string
  519.     Regular expression for hiding some databases. This only hides them from
  520.     listing, but a user is still able to access them (using, for example, the
  521.     SQL query area). To limit access, use the MySQL privilege system.
  522.  
  523.     For example, to hide all databases starting with the letter "a", use
  524.  
  525.     $cfg['Servers'][$i]['hide_db'] = '^a';
  526.  
  527.     and to hide both "db1" and "db2" use
  528.  
  529.     $cfg['Servers'][$i]['hide_db'] = '(db1|db2)';
  530.  
  531.     More information on regular expressions can be found in the PCRE pattern
  532.     syntax portion of the PHP reference manual.
  533. $cfg['Servers'][$i]['verbose'] string
  534.     Only useful when using phpMyAdmin with multiple server entries. If set,
  535.     this string will be displayed instead of the hostname in the pull-down menu
  536.     on the main page. This can be useful if you want to show only certain
  537.     databases on your system, for example.
  538. $cfg['Servers'][$i]['pmadb'] string
  539.     The name of the database containing the linked-tables infrastructure.
  540.  
  541.     See the Linked-tables infrastructure section in this document to see the
  542.     benefits of this infrastructure, and for a quick way of creating this
  543.     database and the needed tables.
  544.  
  545.     If you are the only user of this phpMyAdmin installation, you can use your
  546.     current database to store those special tables; in this case, just put your
  547.     current database name in $cfg['Servers'][$i]['pmadb']. For a multi-user
  548.     installation, set this parameter to the name of your central database
  549.     containing the linked-tables infrastructure.
  550. $cfg['Servers'][$i]['bookmarktable'] string
  551.     Since release 2.2.0 phpMyAdmin allows users to bookmark queries. This can
  552.     be useful for queries you often run.
  553.  
  554.     To allow the usage of this functionality:
  555.       + set up pmadb and the linked-tables infrastructure
  556.       + enter the table name in $cfg['Servers'][$i]['bookmarktable']
  557. $cfg['Servers'][$i]['relation'] string
  558.     Since release 2.2.4 you can describe, in a special 'relation' table, which
  559.     field is a key in another table (a foreign key). phpMyAdmin currently uses
  560.     this to
  561.       + make clickable, when you browse the master table, the data values that
  562.         point to the foreign table;
  563.       + display in an optional tool-tip the "display field" when browsing the
  564.         master table, if you move the mouse to a column containing a foreign
  565.         key (use also the 'table_info' table);
  566.         (see FAQ 6.7)
  567.       + in edit/insert mode, display a drop-down list of possible foreign keys
  568.         (key value and "display field" are shown)
  569.         (see FAQ 6.21)
  570.       + display links on the table properties page, to check referential
  571.         integrity (display missing foreign keys) for each described key;
  572.       + in query-by-example, create automatic joins (see FAQ 6.6)
  573.       + enable you to get a PDF schema of your database (also uses the
  574.         table_coords table).
  575.     The keys can be numeric or character.
  576.  
  577.     To allow the usage of this functionality:
  578.       + set up pmadb and the linked-tables infrastructure
  579.       + put the relation table name in $cfg['Servers'][$i]['relation']
  580.       + now as normal user open phpMyAdmin and for each one of your tables
  581.         where you want to use this feature, click "Structure/Relation view/"
  582.         and choose foreign fields.
  583.     Please note that in the current version, master_db must be the same as
  584.     foreign_db. Those fields have been put in future development of the
  585.     cross-db relations.
  586. $cfg['Servers'][$i]['table_info'] string
  587.     Since release 2.3.0 you can describe, in a special 'table_info' table,
  588.     which field is to be displayed as a tool-tip when moving the cursor over
  589.     the corresponding key.
  590.     This configuration variable will hold the name of this special table. To
  591.     allow the usage of this functionality:
  592.       + set up pmadb and the linked-tables infrastructure
  593.       + put the table name in $cfg['Servers'][$i]['table_info']
  594.       + then for each table where you want to use this feature, click
  595.         "Structure/Relation view/Choose field to display" to choose the field.
  596.     Usage tip: Display field.
  597. $cfg['Servers'][$i]['table_coords'] string
  598.     $cfg['Servers'][$i]['pdf_pages'] string
  599.     Since release 2.3.0 you can have phpMyAdmin create PDF pages showing the
  600.     relations between your tables. To do this it needs two tables "pdf_pages"
  601.     (storing information about the available PDF pages) and "table_coords"
  602.     (storing coordinates where each table will be placed on a PDF schema
  603.     output).
  604.  
  605.     You must be using the "relation" feature.
  606.  
  607.     To allow the usage of this functionality:
  608.       + set up pmadb and the linked-tables infrastructure
  609.       + put the correct table names in $cfg['Servers'][$i]['table_coords'] and
  610.         $cfg['Servers'][$i]['pdf_pages']
  611.     Usage tips: PDF output.
  612. $cfg['Servers'][$i]['column_info'] string
  613.     Since release 2.3.0 you can store comments to describe each column for each
  614.     table. These will then be shown on the "printview".
  615.  
  616.     Starting with release 2.5.0, comments are consequently used on the table
  617.     property pages and table browse view, showing up as tool-tips above the
  618.     column name (properties page) or embedded within the header of table in
  619.     browse view. They can also be shown in a table dump. Please see the
  620.     relevant configuration directives later on.
  621.  
  622.     Also new in release 2.5.0 is a MIME-transformation system which is also
  623.     based on the following table structure. See Transformations for further
  624.     information. To use the MIME-transformation system, your column_info table
  625.     has to have the three new fields 'mimetype', 'transformation',
  626.     'transformation_options'.
  627.  
  628.     To allow the usage of this functionality:
  629.       + set up pmadb and the linked-tables infrastructure
  630.       + put the table name in $cfg['Servers'][$i]['column_info']
  631.       + to update your PRE-2.5.0 Column_comments Table use this:
  632.  
  633.         ALTER TABLE `pma_column_comments`
  634.             ADD `mimetype` VARCHAR( 255 ) NOT NULL,
  635.             ADD `transformation` VARCHAR( 255 ) NOT NULL,
  636.             ADD `transformation_options` VARCHAR( 255 ) NOT NULL;
  637.  
  638.         and remember that the Variable in config.inc.php has been renamed from
  639.         $cfg['Servers'][$i]['column_comments'] to $cfg['Servers'][$i]
  640.         ['column_info']
  641. $cfg['Servers'][$i]['history'] string
  642.     Since release 2.5.0 you can store your SQL history, which means all queries
  643.     you entered manually into the phpMyAdmin interface. If you don't want to
  644.     use a table-based history, you can use the JavaScript-based history. Using
  645.     that, all your history items are deleted when closing the window.
  646.  
  647.     Using $cfg['QueryHistoryMax'] you can specify an amount of history items
  648.     you want to have on hold. On every login, this list gets cut to the maximum
  649.     amount.
  650.  
  651.     The query history is only available if JavaScript is enabled in your
  652.     browser.
  653.  
  654.     To allow the usage of this functionality:
  655.       + set up pmadb and the linked-tables infrastructure
  656.       + put the table name in $cfg['Servers'][$i]['history']
  657. $cfg['Servers'][$i]['verbose_check'] boolean
  658.     Because release 2.5.0 introduced the new MIME-transformation support, the
  659.     column_info table got enhanced with three new fields. If the above variable
  660.     is set to TRUE (default) phpMyAdmin will check if you have the latest table
  661.     structure available. If not, it will emit a warning to the superuser.
  662.  
  663.     You can disable this checking behavior by setting the variable to false,
  664.     which should offer a performance increase.
  665.  
  666.     Recommended to set to FALSE, when you are sure, your table structure is up
  667.     to date.
  668. $cfg['Servers'][$i]['AllowRoot'] boolean
  669.     Whether to allow root access. This is just simplification of rules below.
  670. $cfg['Servers'][$i]['AllowDeny']['order'] string
  671.     If your rule order is empty, then IP authentication is disabled.
  672.  
  673.     If your rule order is set to 'deny,allow' then the system applies all deny
  674.     rules followed by allow rules. Access is allowed by default. Any client
  675.     which does not match a Deny command or does match an Allow command will be
  676.     allowed access to the server.
  677.  
  678.     If your rule order is set to 'allow,deny' then the system applies all allow
  679.     rules followed by deny rules. Access is denied by default. Any client which
  680.     does not match an Allow directive or does match a Deny directive will be
  681.     denied access to the server.
  682.  
  683.     If your rule order is set to 'explicit', the authentication is performed in
  684.     a similar fashion to rule order 'deny,allow', with the added restriction
  685.     that your host/username combination must be listed in the allow rules, and
  686.     not listed in the deny rules. This is the most secure means of using Allow/
  687.     Deny rules, and was available in Apache by specifying allow and deny rules
  688.     without setting any order.
  689.  
  690.     Please also see $cfg['TrustedProxies'] for detecting IP address behind
  691.     proxies.
  692. $cfg['Servers'][$i]['AllowDeny']['rules'] array of strings
  693.     The general format for the rules is as such:
  694.  
  695.     <'allow' | 'deny'> <username> [from] <ipmask>
  696.  
  697.     If you wish to match all users, it is possible to use a '%' as a wildcard
  698.     in the username field.
  699.     There are a few shortcuts you can use in the ipmask field as well (please
  700.     note that those containing SERVER_ADDRESS might not be available on all
  701.     webservers):
  702.  
  703.     'all' -> 0.0.0.0/0
  704.     'localhost' -> 127.0.0.1/8
  705.     'localnetA' -> SERVER_ADDRESS/8
  706.     'localnetB' -> SERVER_ADDRESS/16
  707.     'localnetC' -> SERVER_ADDRESS/24
  708.  
  709.     Having an empty rule list is equivalent to either using 'allow % from all'
  710.     if your rule order is set to 'deny,allow' or 'deny % from all' if your rule
  711.     order is set to 'allow,deny' or 'explicit'.
  712.  
  713.     For the IP matching system, the following work:
  714.     xxx.xxx.xxx.xxx (an exact IP address)
  715.     xxx.xxx.xxx.[yyy-zzz] (an IP address range)
  716.     xxx.xxx.xxx.xxx/nn (CIDR, Classless Inter-Domain Routing type IP addresses)
  717.     But the following does not work:
  718.     xxx.xxx.xxx.xx[yyy-zzz] (partial IP address range)
  719. $cfg['ServerDefault'] integer
  720.     If you have more than one server configured, you can set $cfg
  721.     ['ServerDefault'] to any one of them to autoconnect to that server when
  722.     phpMyAdmin is started, or set it to 0 to be given a list of servers without
  723.     logging in.
  724.     If you have only one server configured, $cfg['ServerDefault'] MUST be set
  725.     to that server.
  726. $cfg['OBGzip'] string/boolean
  727.     Defines whether to use GZip output buffering for increased speed in HTTP
  728.     transfers.
  729.     Set to true/false for enabling/disabling. When set to 'auto' (string),
  730.     phpMyAdmin tries to enable output buffering and will automatically disable
  731.     it if your browser has some problems with buffering. IE6 with a certain
  732.     patch is known to cause data corruption when having enabled buffering.
  733. $cfg['PersistentConnections'] boolean
  734.     Whether persistent connections should be used or not (mysql_connect or
  735.     mysql_pconnect).
  736. $cfg['ForceSSL'] boolean
  737.     Whether to force using https while accessing phpMyAdmin.
  738. $cfg['ExecTimeLimit'] integer [number of seconds]
  739.     Set the number of seconds a script is allowed to run. If seconds is set to
  740.     zero, no time limit is imposed.
  741.     This setting is used while importing/exporting dump files but has no effect
  742.     when PHP is running in safe mode.
  743. $cfg['MemoryLimit'] integer [number of bytes]
  744.     Set the number of bytes a script is allowed to allocate. If number set to
  745.     zero, no limit is imposed.
  746.     This setting is used while importing/exporting dump files but has no effect
  747.     when PHP is running in safe mode.
  748.     You can also use any string as in php.ini, eg. '16M'.
  749. $cfg['SkipLockedTables'] boolean
  750.     Mark used tables and make it possible to show databases with locked tables
  751.     (since MySQL 3.23.30).
  752. $cfg['ShowSQL'] boolean
  753.     Defines whether SQL queries generated by phpMyAdmin should be displayed or
  754.     not.
  755. $cfg['AllowUserDropDatabase'] boolean
  756.     Defines whether normal users (non-administrator) are allowed to delete
  757.     their own database or not. If set as FALSE, the link "Drop Database" will
  758.     not be shown, and even a "DROP DATABASE mydatabase" will be rejected. Quite
  759.     practical for ISP's with many customers.
  760.     Please note that this limitation of SQL queries is not as strict as when
  761.     using MySQL privileges. This is due to nature of SQL queries which might be
  762.     quite complicated. So this choice should be viewed as help to avoid
  763.     accidental dropping rather than strict privilege limitation.
  764. $cfg['Confirm'] boolean
  765.     Whether a warning ("Are your really sure...") should be displayed when
  766.     you're about to lose data.
  767. $cfg['LoginCookieRecall'] boolean
  768.     Define whether the previous login should be recalled or not in cookie
  769.     authentication mode.
  770. $cfg['LoginCookieValidity'] integer [number of seconds]
  771.     Define how long is login cookie valid.
  772. $cfg['LoginCookieStore'] integer [number of seconds]
  773.     Define how long is login cookie should be stored in browser. Default 0
  774.     means that it will be kept for existing session. This is recommended for
  775.     not trusted environments.
  776. $cfg['LoginCookieDeleteAll'] boolean
  777.     If enabled (default), logout deletes cookies for all servers, otherwise
  778.     only for current one. Setting this to false makes it easy to forget to log
  779.     out from other server, when you are using more of them.
  780. $cfg['UseDbSearch'] boolean
  781.     Define whether the "search string inside database" is enabled or not.
  782. $cfg['IgnoreMultiSubmitErrors'] boolean
  783.     Define whether phpMyAdmin will continue executing a multi-query statement
  784.     if one of the queries fails. Default is to abort execution.
  785. $cfg['VerboseMultiSubmit'] boolean
  786.     Define whether phpMyAdmin will output the results of each query of a
  787.     multi-query statement embedded into the SQL output as inline comments.
  788.     Defaults to TRUE.
  789. $cfg['AllowArbitraryServer'] boolean
  790.     If enabled allows you to log in to arbitrary servers using cookie auth.
  791.  
  792.     NOTE: Please use this carefully, as this may allow users access to MySQL
  793.     servers behind the firewall where your HTTP server is placed.
  794. $cfg['LeftFrameLight'] boolean
  795.     Defines whether to use a select-based menu and display only the current
  796.     tables in the left frame (smaller page). Only in Non-Lightmode you can use
  797.     the feature to display nested folders using $cfg['LeftFrameTableSeparator']
  798. $cfg['LeftFrameDBTree'] boolean
  799.     In light mode, defines whether to display the names of databases (in the
  800.     selector) using a tree, see also $cfg['LeftFrameDBSeparator'].
  801. $cfg['LeftFrameDBSeparator'] string
  802.     The string used to separate the parts of the database name when showing
  803.     them in a tree.
  804. $cfg['LeftFrameTableSeparator'] string
  805.     Defines a string to be used to nest table spaces. Defaults to '__'. This
  806.     means if you have tables like 'first__second__third' this will be shown as
  807.     a three-level hierarchy like: first > second > third. If set to FALSE or
  808.     empty, the feature is disabled. NOTE: You should not use this separator at
  809.     the beginning or end of a table name or multiple times after another
  810.     without any other characters in between.
  811. $cfg['LeftFrameTableLevel'] string
  812.     Defines how many sublevels should be displayed when splitting up tables by
  813.     the above separator.
  814. $cfg['ShowTooltip'] boolean
  815.     Defines whether to display table comment as tool-tip in left frame or not.
  816. $cfg['ShowTooltipAliasDB'] boolean
  817.     If tool-tips are enabled and a DB comment is set, this will flip the
  818.     comment and the real name. That means that if you have a table called
  819.     'user0001' and add the comment 'MyName' on it, you will see the name
  820.     'MyName' used consequently in the left frame and the tool-tip shows the
  821.     real name of the DB.
  822. $cfg['ShowTooltipAliasTB'] boolean/string
  823.     Same as $cfg['ShowTooltipAliasDB'], except this works for table names. When
  824.     setting this to 'nested', the Alias of the Tablename is only used to split/
  825.     nest the tables according to the $cfg['LeftFrameTableSeparator'] directive.
  826.     So only the folder is called like the Alias, the tablename itself stays the
  827.     real tablename.
  828. $cfg['LeftDisplayLogo'] boolean
  829.     Defines whether or not to display the phpMyAdmin logo at the top of the
  830.     left frame. Defaults to TRUE.
  831. $cfg['LeftLogoLink'] string
  832.     Enter URL where logo in left frame will point to. For use especially with
  833.     self made theme which changes this.
  834. $cfg['LeftDisplayServers'] boolean
  835.     Defines whether or not to display a server choice at the top of the left
  836.     frame. Defaults to FALSE.
  837. $cfg['DisplayServersList'] boolean
  838.     Defines whether to display this server choice as links instead of in a
  839.     drop-down. Defaults to FALSE (drop-down).
  840. $cfg['ShowStats'] boolean
  841.     Defines whether or not to display space usage and statistics about
  842.     databases and tables.
  843.     Note that statistics requires at least MySQL 3.23.3 and that, at this date,
  844.     MySQL doesn't return such information for Berkeley DB tables.
  845. $cfg['ShowPhpInfo'] boolean
  846.     $cfg['ShowChgPassword'] boolean
  847.     $cfg['ShowCreateDb'] boolean
  848.     Defines whether to display the "PHP information" and "Change password "
  849.     links and form for creating database or not at the starting main (right)
  850.     frame. This setting does not check MySQL commands entered directly.
  851.  
  852.     Please note that to block the usage of phpinfo() in scripts, you have to
  853.     put this in your php.ini:
  854.  
  855.     disable_functions = phpinfo()
  856.  
  857.     Also note that enabling the "Change password " link has no effect with
  858.     "config" authentication mode: because of the hard coded password value in
  859.     the configuration file, end users can't be allowed to change their
  860.     passwords.
  861. $cfg['SuggestDBName'] boolean
  862.     Defines whether to suggest a database name on the "Create Database" form or
  863.     to keep the textfield empty.
  864. $cfg['ShowBlob'] boolean
  865.     Defines whether or not BLOB fields are shown when browsing a table's
  866.     content.
  867. $cfg['NavigationBarIconic'] string
  868.     Defines whether navigation bar buttons and the right panel top menu contain
  869.     text or symbols only. A value of TRUE displays icons, FALSE displays text
  870.     and 'both' displays both icons and text.
  871. $cfg['ShowAll'] boolean
  872.     Defines whether a user should be displayed a "show all (records)" button in
  873.     browse mode or not.
  874. $cfg['MaxRows'] integer
  875.     Number of rows displayed when browsing a result set. If the result set
  876.     contains more rows, "Previous" and "Next" links will be shown.
  877. $cfg['Order'] string [DESC|ASC|SMART]
  878.     Defines whether fields are displayed in ascending (ASC) order, in
  879.     descending (DESC) order or in a "smart" (SMART) order - I.E. descending
  880.     order for fields of type TIME, DATE, DATETIME and TIMESTAMP, ascending
  881.     order else- by default.
  882. $cfg['ProtectBinary'] boolean or string
  883.     Defines whether BLOB or BINARY fields are protected from editing when
  884.     browsing a table's content. Valid values are:
  885.       + FALSE to allow editing of all fields;
  886.       + 'blob' to allow editing of all fields except BLOBS;
  887.       + 'all' to disallow editing of all BINARY or BLOB fields.
  888. $cfg['ShowFunctionFields'] boolean
  889.     Defines whether or not MySQL functions fields should be displayed in edit/
  890.     insert mode.
  891. $cfg['CharEditing'] string
  892.     Defines which type of editing controls should be used for CHAR and VARCHAR
  893.     fields. Possible values are:
  894.       + input - this allows to limit size of text to size of field in MySQL,
  895.         but has problems with newlines in fields
  896.       + textarea - no problems with newlines in fields, but also no length
  897.         limitations
  898.     Default is old behavior so input.
  899. $cfg['InsertRows'] integer
  900.     Defines the maximum number of concurrent entries for the Insert page.
  901. $cfg['ForeignKeyMaxLimit'] integer
  902.     If there are fewer items than this in the set of foreign keys, then a
  903.     drop-down box of foreign keys is presented, in the style described by the
  904.     $cfg['ForeignKeyDropdownOrder'] setting.
  905. $cfg['ForeignKeyDropdownOrder'] array
  906.     For the foreign key drop-down fields, there are several methods of display,
  907.     offering both the key and value data. The contents of the array should be
  908.     one or both of the following strings: 'content-id', 'id-content'.
  909. $cfg['ZipDump'] boolean
  910.     $cfg['GZipDump'] boolean
  911.     $cfg['BZipDump'] boolean
  912.     Defines whether to allow the use of zip/GZip/BZip2 compression when
  913.     creating a dump file
  914. $cfg['CompressOnFly'] boolean
  915.     Defines whether to allow on the fly compression for GZip/BZip2 compressed
  916.     exports. This doesn't affect smaller dumps and allows users to create
  917.     larger dumps that won't otherwise fit in memory due to php memory limit.
  918.     Produced files contain more GZip/BZip2 headers, but all normal programs
  919.     handle this correctly.
  920. $cfg['LightTabs'] boolean
  921.     If set to TRUE, use less graphically intense tabs on the top of the
  922.     mainframe.
  923. $cfg['PropertiesIconic'] string
  924.     If set to TRUE, will display icons instead of text for db and table
  925.     properties links (like 'Browse', 'Select', 'Insert', ...).
  926.     Can be set to 'both' if you want icons AND text.
  927.     When set to FALSE, will only show text.
  928. $cfg['PropertiesNumColumns'] integer
  929.     How many columns will be utilized to display the tables on the database
  930.     property view? Default is 1 column. When setting this to a value larger
  931.     than 1, the type of the database will be omitted for more display space.
  932. $cfg['DefaultTabServer'] string
  933.     Defines the tab displayed by default on server view. Possible values:
  934.     "main.php" (recommended for multi-user setups), "server_databases.php",
  935.     "server_status.php", "server_variables.php", "server_privileges.php" or
  936.     "server_processlist.php".
  937. $cfg['DefaultTabDatabase'] string
  938.     Defines the tab displayed by default on database view. Possible values:
  939.     "db_details_structure.php", "db_details.php" or "db_search.php".
  940. $cfg['DefaultTabTable'] string
  941.     Defines the tab displayed by default on table view. Possible values:
  942.     "tbl_properties_structure.php", "tbl_properties.php", "tbl_select.php",
  943.     "tbl_change.php" or "sql.php".
  944. $cfg['MySQLManualBase'] string
  945.     If set to an URL which points to the MySQL documentation (type depends on
  946.     $cfg['MySQLManualType']), appropriate help links are generated.
  947.     See MySQL Documentation page for more information about MySQL manuals and
  948.     their types.
  949. $cfg['MySQLManualType'] string
  950.     Type of MySQL documentation:
  951.       + viewable - "viewable online", current one used on MySQL website
  952.       + searchable - "Searchable, with user comments"
  953.       + chapters - "HTML, one page per chapter"
  954.       + big - "HTML, all on one page"
  955.       + none - do not show documentation links
  956. $cfg['DefaultLang'] string
  957.     Defines the default language to use, if not browser-defined or
  958.     user-defined.
  959.     See the select_lang.lib.php script to know the valid values for this
  960.     setting.
  961. $cfg['DefaultConnectionCollation'] string
  962.     Defines the default connection collation to use, if not user-defined.
  963.     See the MySQL documentation for list of possible values.
  964. $cfg['Lang'] string
  965.     Force: always use this language (must be defined in the select_lang.lib.php
  966.     script).
  967. $cfg['FilterLanguages'] string
  968.     Limit list of available languages to those matching the given regular
  969.     expression. For example if you want only Czech and English, you should set
  970.     filter to '^(cs|en)'.
  971. $cfg['DefaultCharset'] string
  972.     Default character set to use for recoding of MySQL queries. This must be
  973.     enabled and it's described by $cfg['AllowAnywhereRecoding'] option.
  974.     You can give here any character set which is in $cfg['AvailableCharsets']
  975.     array and this is just default choice, user can select any of them.
  976. $cfg['AllowAnywhereRecoding'] boolean
  977.     Allow character set recoding of MySQL queries. You need recode or iconv
  978.     support (compiled in or module) in PHP to allow MySQL queries recoding and
  979.     used language file must have it enabled (by default only these which are in
  980.     Unicode, just to avoid losing some characters).
  981.  
  982.     Setting this to TRUE also activates a pull-down menu in the Export page, to
  983.     choose the character set when exporting a file.
  984. $cfg['RecodingEngine'] string
  985.     You can select here which functions will be used for character set
  986.     conversion. Possible values are:
  987.       + auto - automatically use available one (first is tested iconv, then
  988.         recode)
  989.       + iconv - use iconv or libiconv functions
  990.       + recode - use recode_string function
  991.     Default is auto.
  992. $cfg['IconvExtraParams'] string
  993.     Specify some parameters for iconv used in charset conversion. See iconv
  994.     documentation for details. By default //TRANSLIT is used, so that invalid
  995.     characters will be transliterated.
  996. $cfg['AvailableCharsets'] array
  997.     Available character sets for MySQL conversion. You can add your own (any of
  998.     supported by recode/iconv) or remove these which you don't use. Character
  999.     sets will be shown in same order as here listed, so if you frequently use
  1000.     some of these move them to the top.
  1001. $cfg['TrustedProxies'] array
  1002.     Lists proxies and HTTP headers which are trusted for IP Allow/Deny. This
  1003.     list is by default empty, you need to fill in some trusted proxy servers if
  1004.     you want to use rules for IP addresses behind proxy.
  1005.  
  1006.     The following example specifies that phpMyAdmin should trust a
  1007.     HTTP_X_FORWARDED_FOR (X-Forwarded-For) header coming from the proxy
  1008.     1.2.3.4:
  1009.  
  1010.     $cfg['TrustedProxies'] =
  1011.          array('1.2.3.4' => 'HTTP_X_FORWARDED_FOR');
  1012.  
  1013.     The $cfg['Servers'][$i]['AllowDeny']['rules'] directive uses the client's
  1014.     IP address as usual.
  1015. $cfg['GD2Available'] string
  1016.     Specifies whether GD >= 2 is available. If yes it can be used for MIME
  1017.     transformations.
  1018.     Possible values are:
  1019.       + auto - automatically detect, this is a bit expensive operation for php
  1020.         < 4.3.0 so it is preferred to change this according to your server real
  1021.         possibilities
  1022.       + yes - GD 2 functions can be used
  1023.       + no - GD 2 function cannot be used
  1024.     Default is auto.
  1025. $cfg['NaviWidth'] integer
  1026.     Navi frame width in pixels. See themes/themename/layout.inc.php.
  1027. $cfg['NaviBackground'] string [valid css code for background]
  1028.     $cfg['MainBackground'] string [valid css code for background]
  1029.     The background styles used for both the frames. See themes/themename/
  1030.     layout.inc.php.
  1031. $cfg['NaviPointerBackground'] string [valid css code for background]
  1032.     $cfg['NaviPointerColor'] string [valid css color]
  1033.     The style used for the pointer in the navi frame. See themes/themename/
  1034.     layout.inc.php.
  1035. $cfg['LeftPointerEnable'] boolean
  1036.     A value of TRUE activates the navi pointer (when LeftFrameLight is FALSE).
  1037. $cfg['Border'] integer
  1038.     The size of a table's border. See themes/themename/layout.inc.php.
  1039. $cfg['ThBackground'] string [valid css code for background]
  1040.     $cfg['ThColor'] string [valid css color]
  1041.     The style used for table headers. See themes/themename/layout.inc.php.
  1042. $cfg['BgOne'] string [HTML color]
  1043.     The color (HTML) #1 for table rows. See themes/themename/layout.inc.php.
  1044. $cfg['BgTwo'] string [HTML color]
  1045.     The color (HTML) #2 for table rows. See themes/themename/layout.inc.php.
  1046. $cfg['BrowsePointerBackground'] string [HTML color]
  1047.     $cfg['BrowsePointerColor'] string [HTML color]
  1048.     $cfg['BrowseMarkerBackground'] string [HTML color]
  1049.     $cfg['BrowseMarkerColor'] string [HTML color]
  1050.     The colors (HTML) uses for the pointer and the marker in browse mode.
  1051.     The former feature highlights the row over which your mouse is passing and
  1052.     the latter lets you visually mark/unmark rows by clicking on them.
  1053.     See themes/themename/layout.inc.php.
  1054. $cfg['FontFamily'] string
  1055.     You put here a valid CSS font family value, for example arial, sans-serif.
  1056.     See themes/themename/layout.inc.php.
  1057. $cfg['FontFamilyFixed'] string
  1058.     You put here a valid CSS font family value, for example monospace. This one
  1059.     is used in textarea.
  1060.     See themes/themename/layout.inc.php.
  1061. $cfg['BrowsePointerEnable'] boolean
  1062.     Whether to activate the browse pointer or not.
  1063. $cfg['BrowseMarkerEnable'] boolean
  1064.     Whether to activate the browse marker or not.
  1065. $cfg['TextareaCols'] integer
  1066.     $cfg['TextareaRows'] integer
  1067.     $cfg['CharTextareaCols'] integer
  1068.     $cfg['CharTextareaRows'] integer
  1069.     Number of columns and rows for the textareas.
  1070.     This value will be emphasized (*2) for SQL query textareas and (*1.25) for
  1071.     SQL textareas inside the query window.
  1072.     The Char* values are used for CHAR and VARCHAR editing (if configured via
  1073.     $cfg['CharEditing']).
  1074. $cfg['LongtextDoubleTextarea'] boolean
  1075.     Defines whether textarea for LONGTEXT fields should have double size.
  1076. $cfg['TextareaAutoSelect'] boolean
  1077.     Defines if the whole textarea of the query box will be selected on click.
  1078. $cfg['CtrlArrowsMoving'] boolean
  1079.     Enable Ctrl+Arrows (Option+Arrows in Safari) moving between fields when
  1080.     editing.
  1081. $cfg['LimitChars'] integer
  1082.     Maximum number of characters showen in any non-numeric field on browse
  1083.     view. Can be turned off by a toggle button on the browse page.
  1084. $cfg['ModifyDeleteAtLeft'] boolean $cfg['ModifyDeleteAtRight'] boolean
  1085.     Defines the place where modify and delete links would be put when tables
  1086.     contents are displayed (you may have them displayed both at the left and at
  1087.     the right). "Left" and "right" are parsed as "top" and "bottom" with
  1088.     vertical display mode.
  1089. $cfg['DefaultDisplay'] string $cfg['HeaderFlipType'] string
  1090.     There are 3 display modes: horizontal, horizontalflipped and vertical.
  1091.     Define which one is displayed by default. The first mode displays each row
  1092.     on a horizontal line, the second rotates the headers by 90 degrees, so you
  1093.     can use descriptive headers even though fields only contain small values
  1094.     and still print them out. The vertical mode sorts each row on a vertical
  1095.     lineup.
  1096.  
  1097.     The HeaderFlipType can be set to 'css' or 'fake'. When using 'css' the
  1098.     rotation of the header for horizontalflipped is done via CSS. If set to
  1099.     'fake' PHP does the transformation for you, but of course this does not
  1100.     look as good as CSS.
  1101. $cfg['DefaultPropDisplay'] string
  1102.     When editing/creating new columns in a table all fields normally get lined
  1103.     up one field a line. (default: 'horizontal'). If you set this to 'vertical'
  1104.     you can have each field lined up vertically beneath each other. You can
  1105.     save up a lot of place on the horizontal direction and no longer have to
  1106.     scroll.
  1107. $cfg['ShowBrowseComments'] boolean
  1108.     $cfg['ShowPropertyComments'] boolean
  1109.     By setting the corresponding variable to TRUE you can enable the display of
  1110.     column comments in Browse or Property display. In browse mode, the comments
  1111.     are shown inside the header. In property mode, comments are displayed using
  1112.     a CSS-formatted dashed-line below the name of the field. The comment is
  1113.     shown as a tool-tip for that field.
  1114. $cfg['UploadDir'] string
  1115.     The name of the directory where SQL files have been uploaded by other means
  1116.     than phpMyAdmin (for example, ftp). Those files are available under a
  1117.     drop-down box when you click the database name, then the SQL tab.
  1118.  
  1119.     If you want different directory for each user, %u will be replaced with
  1120.     username.
  1121.  
  1122.     Please note that the file names must have the suffix ".sql" (or ".sql.bz2"
  1123.     or ".sql.gz" if support for compressed formats is enabled).
  1124.  
  1125.     This feature is useful when your file is too big to be uploaded via HTTP,
  1126.     or when file uploads are disabled in PHP.
  1127.  
  1128.     Please note that if PHP is running in safe mode, this directory must be
  1129.     owned by the same user as the owner of the phpMyAdmin scripts.
  1130.  
  1131.     See also FAQ 1.16 for alternatives.
  1132. $cfg['docSQLDir'] string
  1133.     The name of the directory where docSQL files can be uploaded for import
  1134.     into phpMyAdmin.
  1135.  
  1136.     Please note that if PHP is running in safe mode, this directory must be
  1137.     owned by the same user as the owner of the phpMyAdmin scripts.
  1138. $cfg['SaveDir'] string
  1139.     The name of the directory where dumps can be saved.
  1140.  
  1141.     If you want different directory for each user, %u will be replaced with
  1142.     username.
  1143.  
  1144.     Please note that the directory has to be writable for user running
  1145.     webserver.
  1146.  
  1147.     Please note that if PHP is running in safe mode, this directory must be
  1148.     owned by the same user as the owner of the phpMyAdmin scripts.
  1149. $cfg['TempDir'] string
  1150.     The name of the directory where temporary files can be stored.
  1151.  
  1152.     This is needed for native MS Excel export, see FAQ 6.23
  1153. $cfg['Export'] array
  1154.     In this array are defined default parameters for export, names of items are
  1155.     similar to texts seen on export page, so you can easily identify what they
  1156.     mean.
  1157. $cfg['Import'] array
  1158.     In this array are defined default parameters for import, names of items are
  1159.     similar to texts seen on import page, so you can easily identify what they
  1160.     mean.
  1161. $cfg['RepeatCells'] integer
  1162.     Repeat the headers every X cells, or 0 to deactivate.
  1163. $cfg['EditInWindow'] boolean
  1164.     $cfg['QueryWindowWidth'] integer
  1165.     $cfg['QueryWindowHeight'] integer
  1166.     $cfg['QueryHistoryDB'] boolean
  1167.     $cfg['QueryWindowDefTab'] string
  1168.     $cfg['QueryHistoryMax'] integer
  1169.     All those variables affect the query window feature. A SQL link or icon is
  1170.     always displayed on the left panel. If JavaScript is enabled in your
  1171.     browser, a click on this opens a distinct query window, which is a direct
  1172.     interface to enter SQL queries. Otherwise, the right panel changes to
  1173.     display a query box.
  1174.  
  1175.     The size of this query window can be customized with $cfg
  1176.     ['QueryWindowWidth'] and $cfg['QueryWindowWidth'] - both integers for the
  1177.     size in pixels. Note that normally, those parameters will be modified in
  1178.     layout.inc.php for the theme you are using.
  1179.  
  1180.     If $cfg['EditInWindow'] is set to true, a click on [Edit] from the results
  1181.     page (in the "Showing Rows" section) opens the query window and puts the
  1182.     current query inside it. If set to false, clicking on the link puts the SQL
  1183.     query in the right panel's query box.
  1184.  
  1185.     The usage of the JavaScript query window is recommended if you have a
  1186.     JavaScript enabled browser. Basic functions are used to exchange quite a
  1187.     few variables, so most 4th generation browsers should be capable to use
  1188.     that feature. It currently is only tested with Internet Explorer 6 and
  1189.     Mozilla 1.x.
  1190.  
  1191.     If $cfg['QueryHistoryDB'] is set to TRUE, all your Queries are logged to a
  1192.     table, which has to be created by you (see $cfg['Servers'][$i]['history']).
  1193.     If set to FALSE, all your queries will be appended to the form, but only as
  1194.     long as your window is opened they remain saved.
  1195.  
  1196.     When using the JavaScript based query window, it will always get updated
  1197.     when you click on a new table/db to browse and will focus if you click on
  1198.     "Edit SQL" after using a query. You can suppress updating the query window
  1199.     by checking the box "Do not overwrite this query from outside the window"
  1200.     below the query textarea. Then you can browse tables/databases in the
  1201.     background without losing the contents of the textarea, so this is
  1202.     especially useful when composing a query with tables you first have to look
  1203.     in. The checkbox will get automatically checked whenever you change the
  1204.     contents of the textarea. Please uncheck the button whenever you definitely
  1205.     want the query window to get updated even though you have made alterations.
  1206.  
  1207.     If $cfg['QueryHistoryDB'] is set to TRUE you can specify the amount of
  1208.     saved history items using $cfg['QueryHistoryMax'].
  1209.  
  1210.     The query window also has a custom tabbed look to group the features. Using
  1211.     the variable $cfg['QueryWindowDefTab'] you can specify the default tab to
  1212.     be used when opening the query window. It can be set to either 'sql',
  1213.     'files', 'history' or 'full'.
  1214. $cfg['BrowseMIME'] boolean
  1215.     Enable MIME-transformations.
  1216. $cfg['MaxExactCount'] integer
  1217.       + For InnoDB tables, determines for how large tables phpMyAdmin should
  1218.         get the exact row count using SELECT COUNT. If the approximate row
  1219.         count as returned by SHOW TABLE STATUS is smaller than this value,
  1220.         SELECT COUNT will be used, otherwise the approximate count will be
  1221.         used.
  1222.       + For VIEWs, since obtaining the exact count could have an impact on
  1223.         performance, this value is the maximum to be displayed.
  1224. $cfg['WYSIWYG-PDF'] boolean
  1225.     Utilizes a WYSIWYG editing control to easily place elements of a PDF page.
  1226.     By clicking on the button 'toggle scratchboard' on the page where you edit
  1227.     x/y coordinates of those elements you can activate a scratchboard where all
  1228.     your elements are placed. By clicking on an element, you can move them
  1229.     around in the pre-defined area and the x/y coordinates will get updated
  1230.     dynamically. Likewise, when entering a new position directly into the input
  1231.     field, the new position in the scratchboard changes after your cursor
  1232.     leaves the input field.
  1233.     You have to click on the 'OK'-button below the tables to save the new
  1234.     positions. If you want to place a new element, first add it to the table of
  1235.     elements and then you can drag the new element around.
  1236.     By changing the paper size and the orientation you can change the size of
  1237.     the scratchboard as well. You can do so by just changing the dropdown field
  1238.     below, and the scratchboard will resize automatically, without interfering
  1239.     with the current placement of the elements.
  1240.     If ever an element gets out of range you can either enlarge the paper size
  1241.     or click on the 'reset' button to place all elements below each other.
  1242.     NOTE: You have to use a recent browser like IE6 or Mozilla to get this
  1243.     control to work. The basic Drag&Drop script functionality was kindly
  1244.     borrowed from www.youngpup.net and is underlying so specific license.
  1245. $cfg['NaturalOrder'] boolean
  1246.     Sorts database and table names according to natural order (for example, t1,
  1247.     t2, t10). Currently implemented in the left panel (Light mode) and in
  1248.     Database view, for the table list.
  1249. $cfg['TitleTable'] string
  1250. $cfg['TitleDatabase'] string
  1251. $cfg['TitleServer'] string
  1252. $cfg['TitleDefault'] string
  1253.     Allows you to specify window's title bar. Following magic string can be
  1254.     used to get special values:
  1255.  
  1256.     @HTTP_HOST@
  1257.         HTTP host that runs phpMyAdmin
  1258.     @SERVER@
  1259.         MySQL server name
  1260.     @VERBOSE@
  1261.         Verbose MySQL server name as defined in server configuration
  1262.     @VSERVER@
  1263.         Verbose MySQL server name if set, otherwise normal
  1264.     @DATABASE@
  1265.         Currently opened database
  1266.     @TABLE@
  1267.         Currently opened table
  1268.     @PHPMYADMIN@
  1269.         phpMyAdmin with version
  1270.  
  1271. $cfg['ErrorIconic'] boolean
  1272.     Uses icons for warnings, errors and informations.
  1273. $cfg['MainPageIconic'] boolean
  1274.     Uses icons on main page in lists and menu tabs.
  1275. $cfg['ReplaceHelpImg'] boolean
  1276.     Shows a help button instead of the "Documentation" message.
  1277. $cfg['ThemePath'] string
  1278.     If theme manager is active, use this as the path of the subdirectory
  1279.     containing all the themes.
  1280. $cfg['ThemeManager'] boolean
  1281.     Enables user-selectable themes. See FAQ 2.7.
  1282. $cfg['ThemeDefault'] string
  1283.     The default theme (a subdirectory under cfg['ThemePath']).
  1284. $cfg['ThemePerServer'] boolean
  1285.     Whether to allow different theme for each server.
  1286. $cfg['DefaultQueryTable'] string
  1287.     $cfg['DefaultQueryDatabase'] string
  1288.     Default queries that will be displayed in query boxes when user didn't
  1289.     specify any. Use %d for database name, %t for table name and %f for a comma
  1290.     separated list of field names. Note that %t and %f are only applicable to
  1291.     $cfg['DefaultQueryTable'].
  1292. $cfg['SQP']['fmtType'] string [html|none]
  1293.     The main use of the new SQL Parser is to pretty-print SQL queries. By
  1294.     default we use HTML to format the query, but you can disable this by
  1295.     setting this variable to 'none'.
  1296. $cfg['SQP']['fmtInd'] float
  1297.     $cfg['SQP']['fmtIndUnit'] string [em|px|pt|ex]
  1298.     For the pretty-printing of SQL queries, under some cases the part of a
  1299.     query inside a bracket is indented. By changing $cfg['SQP']['fmtInd'] you
  1300.     can change the amount of this indent.
  1301.     Related in purpose is $cfg['SQP']['fmtIndUnit'] which specifies the units
  1302.     of the indent amount that you specified. This is used via stylesheets.
  1303. $cfg['SQP']['fmtColor'] array of string tuples
  1304.     This array is used to define the colours for each type of element of the
  1305.     pretty-printed SQL queries. The tuple format is
  1306.     class => [HTML colour code | empty string]
  1307.     If you specify an empty string for the color of a class, it is ignored in
  1308.     creating the stylesheet. You should not alter the class names, only the
  1309.     colour strings.
  1310.     Class name key:
  1311.       + comment Applies to all comment sub-classes
  1312.       + comment_mysql Comments as "#...\n"
  1313.       + comment_ansi Comments as "-- ...\n"
  1314.       + comment_c Comments as "/*...*/"
  1315.       + digit Applies to all digit sub-classes
  1316.       + digit_hex Hexadecimal numbers
  1317.       + digit_integer Integer numbers
  1318.       + digit_float Floating point numbers
  1319.       + punct Applies to all punctuation sub-classes
  1320.       + punct_bracket_open_round Opening brackets"("
  1321.       + punct_bracket_close_round Closing brackets ")"
  1322.       + punct_listsep List item Separator ","
  1323.       + punct_qualifier Table/Column Qualifier "."
  1324.       + punct_queryend End of query marker ";"
  1325.       + alpha Applies to all alphabetic classes
  1326.       + alpha_columnType Identifiers matching a column type
  1327.       + alpha_columnAttrib Identifiers matching a database/table/column
  1328.         attribute
  1329.       + alpha_functionName Identifiers matching a MySQL function name
  1330.       + alpha_reservedWord Identifiers matching any other reserved word
  1331.       + alpha_variable Identifiers matching a SQL variable "@foo"
  1332.       + alpha_identifier All other identifiers
  1333.       + quote Applies to all quotation mark classes
  1334.       + quote_double Double quotes "
  1335.       + quote_single Single quotes '
  1336.       + quote_backtick Backtick quotes `
  1337. $cfg['SQLValidator'] boolean
  1338.  
  1339.     $cfg['SQLValidator']['use'] boolean
  1340.         phpMyAdmin now supports use of the Mimer SQL Validator service, as
  1341.         originally published on Slashdot.
  1342.         For help in setting up your system to use the service, see the FAQ 6.14
  1343.         .
  1344.     $cfg['SQLValidator']['username'] string
  1345.         $cfg['SQLValidator']['password'] string
  1346.         The SOAP service allows you to log in with anonymous and any password,
  1347.         so we use those by default. Instead, if you have an account with them,
  1348.         you can put your login details here, and it will be used in place of
  1349.         the anonymous login.
  1350.  
  1351. $cfg['DBG']
  1352.     DEVELOPERS ONLY!
  1353. $cfg['DBG']['enable'] boolean
  1354.     DEVELOPERS ONLY!
  1355.     Enable the DBG extension for debugging phpMyAdmin. Required for profiling
  1356.     the code.
  1357.     For help in setting up your system to this, see the Developers section.
  1358. $cfg['DBG']['profile']['enable'] boolean
  1359.     DEVELOPERS ONLY!
  1360.     Enable profiling support for phpMyAdmin. This will append a chunk of data
  1361.     to the end of every page displayed in the main window with profiling
  1362.     statistics for that page.
  1363.     You may need to increase the maximum execution time for this to complete
  1364.     successfully.Profiling was removed from the code for version 2.9.0 due to
  1365.     licensing issues.
  1366. $cfg['DBG']['profile']['threshold'] float (units in milliseconds)
  1367.     DEVELOPERS ONLY!
  1368.     When profiling data is displayed, this variable controls the threshold of
  1369.     display for any profiling data, based on the average time each time has
  1370.     taken. If it is over the threshold it is displayed, otherwise it is not
  1371.     displayed. This takes a value in milliseconds. In most cases you don't need
  1372.     to edit this.
  1373. $cfg['ColumnTypes'] array
  1374.     All possible types of a MySQL column. In most cases you don't need to edit
  1375.     this.
  1376. $cfg['AttributeTypes'] array
  1377.     Possible attributes for fields. In most cases you don't need to edit this.
  1378. $cfg['Functions'] array
  1379.     A list of functions MySQL supports. In most cases you don't need to edit
  1380.     this.
  1381. $cfg['RestrictColumnTypes'] array
  1382.     Mapping of column types to meta types used for preferring displayed
  1383.     functions. In most cases you don't need to edit this.
  1384. $cfg['RestrictFunctions'] array
  1385.     Functions preferred for column meta types as defined in $cfg
  1386.     ['RestrictColumnTypes']. In most cases you don't need to edit this.
  1387. $cfg['DefaultFunctions'] array
  1388.     Functions selected by default when inserting/changing row, Functions are
  1389.     defined for meta types from $cfg['RestrictColumnTypes'] and for
  1390.     first_timestamp, which is used for first timestamp column in table.
  1391. $cfg['NumOperators'] array
  1392.     Operators available for search operations on numeric and date fields.
  1393. $cfg['TextOperators'] array
  1394.     Operators available for search operations on character fields. Note that we
  1395.     put LIKE by default instead of LIKE %...%, to avoid unintended performance
  1396.     problems in case of huge tables.
  1397. $cfg['EnumOperators'] array
  1398.     Operators available for search operations on enum fields.
  1399. $cfg['NullOperators'] array
  1400.     Additional operators available for search operations when the field can be
  1401.     null.
  1402.  
  1403. Transformations
  1404.  
  1405.  1. Introduction
  1406.  2. Usage
  1407.  3. File structure
  1408.  
  1409. 1. Introduction
  1410.  
  1411. To enable transformations, you have to setup the column_info table and the
  1412. proper directives. Please see the Configuration section on how to do so.
  1413.  
  1414. You can apply different transformations to the contents of each field. The
  1415. transformation will take the content of each field and transform it with
  1416. certain rules defined in the selected transformation.
  1417.  
  1418. Say you have a field 'filename' which contains a filename. Normally you would
  1419. see in phpMyAdmin only this filename. Using transformations you can transform
  1420. that filename into a HTML link, so you can click inside of the phpMyAdmin
  1421. structure on the field's link and will see the file displayed in a new browser
  1422. window. Using transformation options you can also specify strings to append/
  1423. prepend to a string or the format you want the output stored in.
  1424.  
  1425. For a general overview of all available transformations and their options, you
  1426. can consult your <www.your-host.com>/<your-install-dir>/
  1427. transformation_overview.php installation.
  1428.  
  1429. For a tutorial on how to effectively use transformations, see our Link section
  1430. on the official phpMyAdmin homepage.
  1431.  
  1432. 2. Usage
  1433.  
  1434. Go to your tbl_properties_structure.php page (i.e. reached through clicking on
  1435. the 'Structure' link for a table). There click on "Change" (or change icon) and
  1436. there you will see three new fields at the end of the line. They are called
  1437. 'MIME-type', 'Browser transformation' and 'Transformation options'.
  1438.  
  1439.   * The field 'MIME-type' is a dropdown field. You have the options to leave
  1440.     that field empty or to use 'auto' [this feature is not yet available].
  1441.     Please note that transformations are inactive as long as no MIME-type is
  1442.     selected.
  1443.   * The field 'Browser transformation' is a drop-down field. You can choose
  1444.     from a hopefully growing amount of pre-defined transformations. See below
  1445.     for information on how to build your own transformation.
  1446.     There are global transformations and mimetype-bound transformations. Global
  1447.     transformations can be used for any mimetype. They will take the mimetype,
  1448.     if necessary, into regard. Mimetype-bound transformations usually only
  1449.     operate on a certain mimetype. There are transformations which operate on
  1450.     the main mimetype (like 'image'), which will most likely take the subtype
  1451.     into regard, and those who only operate on a specific subtype (like 'image/
  1452.     jpeg').
  1453.     You can use transformations on mimetypes for which the function was not
  1454.     defined for. There is no security check for you selected the right
  1455.     transformation, so take care of what the output will be like.
  1456.   * The field 'Transformation options' is a free-type textfield. You have to
  1457.     enter transform-function specific options here. Usually the transforms can
  1458.     operate with default options, but it is generally a good idea to look up
  1459.     the overview to see which options are necessary.
  1460.     Much like the ENUM/SET-Fields, you have to split up several options using
  1461.     the format 'a','b','c',...(NOTE THE MISSING BLANKS). This is because
  1462.     internally the options will be parsed as an array, leaving the first value
  1463.     the first element in the array, and so forth.
  1464.     If you want to specify a MIME character set you can define it in the
  1465.     transformation_options. You have to put that outside of the pre-defined
  1466.     options of the specific mime-transform, as the last value of the set. Use
  1467.     the format "'; charset=XXX'". If you use a transform, for which you can
  1468.     specify 2 options and you want to append a character set, enter "'first
  1469.     parameter','second parameter','charset=us-ascii'". You can, however use the
  1470.     defaults for the parameters: "'','','charset=us-ascii'".
  1471.  
  1472. 3. File structure
  1473.  
  1474. All mimetypes and their transformations are defined through single files in the
  1475. directory 'libraries/transformations/'.
  1476.  
  1477. They are stored in files to ease up customization and easy adding of new
  1478. transformations.
  1479.  
  1480. Because the user cannot enter own mimetypes, it is kept sure that
  1481. transformations always work. It makes no sense to apply a transformation to a
  1482. mimetype, the transform-function doesn't know to handle.
  1483.  
  1484. One can, however, use empty mime-types and global transformations which should
  1485. work for many mimetypes. You can also use transforms on a different mimetype
  1486. they where built for, but pay attention to option usage as well as what the
  1487. transformation does to your field.
  1488.  
  1489. There is a basic file called 'global.inc.php'. This function can be included by
  1490. any other transform function and provides some basic functions.
  1491.  
  1492. There are 5 possible file names:
  1493.  
  1494.  1. A mimetype+subtype transform:
  1495.  
  1496.     [mimetype]_[subtype]__[transform].inc.php
  1497.  
  1498.     Please not that mimetype and subtype are separated via '_', which shall not
  1499.     be contained in their names. The transform function/filename may contain
  1500.     only characters which cause no problems in the file system as well as the
  1501.     PHP function naming convention.
  1502.  
  1503.     The transform function will the be called 'PMA_transform_[mimetype]_
  1504.     [subtype]__[transform]()'.
  1505.  
  1506.     Example:
  1507.  
  1508.     text_html__formatted.inc.php
  1509.     PMA_transform_text_html__formatted()
  1510.  2. A mimetype (w/o subtype) transform:
  1511.  
  1512.     [mimetype]__[transform].inc.php
  1513.  
  1514.     Please note that there are no single '_' characters. The transform function
  1515.     /filename may contain only characters which cause no problems in the file
  1516.     system as well as the PHP function naming convention.
  1517.  
  1518.     The transform function will the be called 'PMA_transform_[mimetype]__
  1519.     [transform]()'.
  1520.  
  1521.     Example:
  1522.  
  1523.     text__formatted.inc.php
  1524.     PMA_transform_text__formatted()
  1525.  3. A mimetype+subtype without specific transform function
  1526.  
  1527.     [mimetype]_[subtype].inc.php
  1528.  
  1529.     Please note that there are no '__' characters in the filename. Do not use
  1530.     special characters in the filename causing problems with the file system.
  1531.  
  1532.     No transformation function is defined in the file itself.
  1533.  
  1534.     Example:
  1535.  
  1536.     text_plain.inc.php
  1537.     (No function)
  1538.  4. A mimetype (w/o subtype) without specific transform function
  1539.  
  1540.     [mimetype].inc.php
  1541.  
  1542.     Please note that there are no '_' characters in the filename. Do not use
  1543.     special characters in the filename causing problems with the file system.
  1544.  
  1545.     No transformation function is defined in the file itself.
  1546.  
  1547.     Example:
  1548.  
  1549.     text.inc.php
  1550.     (No function)
  1551.  5. A global transform function with no specific mimetype
  1552.  
  1553.     global__[transform].inc.php
  1554.  
  1555.     The transform function will the be called 'PMA_transform_global__
  1556.     [transform]()'.
  1557.  
  1558.     Example:
  1559.  
  1560.     global__formatted
  1561.     PMA_transform_global__formatted()
  1562.  
  1563. So generally use '_' to split up mimetype and subtype, and '__' to provide a
  1564. transform function.
  1565.  
  1566. All filenames containing no '__' in themselves are not shown as valid transform
  1567. functions in the dropdown.
  1568.  
  1569. Please see the libraries/transformations/TEMPLATE file for adding your own
  1570. transform function. See the libraries/transformations/TEMPLATE_MIMETYPE for
  1571. adding a mimetype without a transform function. Also note the introduction of a
  1572. function description in the language files. For each function a
  1573. $strTransformation_[filename without .inc.php] has to exist.
  1574.  
  1575. You can use the template generator to generate new functions and entries in the
  1576. language file.
  1577.  
  1578. To create a new transform function please see libraries/transformations/
  1579. template_generator.sh. To create a new, empty mimetype please see libraries/
  1580. transformations/template_generator_mimetype.sh.
  1581.  
  1582. A transform function always gets passed three variables:
  1583.  
  1584.  1. $buffer - Contains the text inside of the column. This is the text, you
  1585.     want to transform.
  1586.  2. $options - Contains any user-passed options to a transform function as an
  1587.     array.
  1588.  3. $meta - Contains an object with field information to your column. The data
  1589.     is drawn from the output of the mysql_fetch_field() function. This means,
  1590.     all object properties described on the manual page are available in this
  1591.     variable and can be used to transform a field accordingly to unsigned/
  1592.     zerofill/not_null/... properties.
  1593.     The $meta->mimetype variable contains the original MIME-type of the field
  1594.     (i.e. 'text/plain', 'image/jpeg' etc.)
  1595.  
  1596. FAQ - Frequently Asked Questions
  1597.  
  1598.  1. Server
  1599.  2. Configuration
  1600.  3. Known limitations
  1601.  4. ISPs, multi-user installations
  1602.  5. Browsers or client OS
  1603.  6. Using phpMyAdmin
  1604.  7. phpMyAdmin project
  1605.  8. Security
  1606.  
  1607. Please have a look at our Link section on the official phpMyAdmin homepage for
  1608. in-depth coverage of phpMyAdmin's features and or interface.
  1609.  
  1610. Server
  1611.  
  1612. 1.1 I'm running PHP 4+ and my server is crashing each time a specific action is
  1613. required or phpMyAdmin sends a blank page or a page full of cryptic characters
  1614. to my browser, what can I do?
  1615.  
  1616. There are some known PHP bugs with output buffering and compression.
  1617. Try to set the $cfg['OBGzip'] directive to FALSE in your config.inc.php file
  1618. and the zlib.output_compression directive to Off in your php configuration
  1619. file.
  1620. Furthermore, we know about such problems connected to the release candidates of
  1621. PHP 4.2.0 (tested with PHP 4.2.0 RC1 to RC4) together with MS Internet
  1622. Explorer. Please upgrade to the release version PHP 4.2.0.
  1623.  
  1624. 1.2 My Apache server crashes when using phpMyAdmin.
  1625.  
  1626. You should first try the latest versions of Apache (and possibly MySQL).
  1627. See also the FAQ 1.1 entry about PHP bugs with output buffering.
  1628. If your server keeps crashing, please ask for help in the various Apache
  1629. support groups.
  1630.  
  1631. 1.3 I'm running phpMyAdmin with "cookie" authentication mode under PHP 4.2.0 or
  1632. 4.2.1 loaded as an Apache 2 module but can't enter the script: I'm always
  1633. displayed the login screen.
  1634.  
  1635. This is a known PHP bug (see this bug report) from the official PHP bug
  1636. database. It means there is and won't be any phpMyAdmin fix against it because
  1637. there is no way to code a fix.
  1638.  
  1639. 1.4 Using phpMyAdmin on IIS, I'm displayed the error message: "The specified
  1640. CGI application misbehaved by not returning a complete set of HTTP headers
  1641. ...".
  1642.  
  1643. You just forgot to read the install.txt file from the php distribution. Have a
  1644. look at the last message in this bug report from the official PHP bug database.
  1645.  
  1646. 1.5 Using phpMyAdmin on IIS, I'm facing crashes and/or many error messages with
  1647. the HTTP or advanced authentication mode.
  1648.  
  1649. This is a known problem with the PHP ISAPI filter: it's not so stable. Please
  1650. use instead the cookie authentication mode.
  1651.  
  1652. 1.6 I can't use phpMyAdmin on PWS: nothing is displayed!
  1653.  
  1654. This seems to be a PWS bug. Filippo Simoncini found a workaround (at this time
  1655. there is no better fix): remove or comment the DOCTYPE declarations (2 lines)
  1656. from the scripts libraries/header.inc.php, libraries/header_printview.inc.php,
  1657. index.php, navigation.php and libraries/common.lib.php.
  1658.  
  1659. 1.7 How can I GZip or Bzip a dump or a CSV export? It does not seem to work.
  1660.  
  1661. These features are based on the gzencode() and bzcompress() PHP functions to be
  1662. more independent of the platform (Unix/Windows, Safe Mode or not, and so on).
  1663. So, you must have PHP4 >= 4.0.4 and Zlib/Bzip2 support (--with-zlib and
  1664. --with-bz2).
  1665. We faced PHP crashes when trying to download a dump with MS Internet Explorer
  1666. when phpMyAdmin is run with a release candidate of PHP 4.2.0. In this case you
  1667. should switch to the release version of PHP 4.2.0.
  1668.  
  1669. 1.8 I cannot insert a text file in a table, and I get an error about safe mode
  1670. being in effect.
  1671.  
  1672. Your uploaded file is saved by PHP in the "upload dir", as defined in php.ini
  1673. by the variable upload_tmp_dir (usually the system default is /tmp).
  1674. We recommend the following setup for Apache servers running in safe mode, to
  1675. enable uploads of files while being reasonably secure:
  1676.  
  1677.   * create a separate directory for uploads: mkdir /tmp/php
  1678.   * give ownership to the Apache server's user.group: chown apache.apache /tmp/
  1679.     php
  1680.   * give proper permission: chmod 600 /tmp/php
  1681.   * put upload_tmp_dir = /tmp/php in php.ini
  1682.   * restart Apache
  1683.  
  1684. 1.9 I'm having troubles when uploading files. In general file uploads don't
  1685. work on my system and uploaded files have a Content-Type: header in the first
  1686. line.
  1687.  
  1688. It's not really phpMyAdmin related but RedHat 7.0. You have a RedHat 7.0 and
  1689. you updated your PHP RPM to php-4.0.4pl1-3.i386.rpm, didn't you?
  1690. So the problem is that this package has a serious bug that was corrected ages
  1691. ago in PHP (2001-01-28: see PHP's bug tracking system for more details). The
  1692. problem is that the bugged package is still available though it was corrected
  1693. (see RedHat's BugZilla for more details).
  1694. So please download the fixed package (4.0.4pl1-9) and the problem should go
  1695. away.
  1696. And that fixes the \r\n problem with file uploads!
  1697.  
  1698. 1.10 I'm having troubles when uploading files with phpMyAdmin running on a
  1699. secure server. My browser is Internet Explorer and I'm using the Apache server.
  1700.  
  1701. As suggested by "Rob M" in the phpWizard forum, add this line to your
  1702. httpd.conf:
  1703.  
  1704. SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
  1705.  
  1706. It seems to clear up many problems between Internet Explorer and SSL.
  1707.  
  1708. 1.11 I get an 'open_basedir restriction' while uploading a file from the query
  1709. box.
  1710.  
  1711. Since version 2.2.4, phpMyAdmin supports servers with open_basedir
  1712. restrictions. Assuming that the restriction allows you to open files in the
  1713. current directory ('.'), all you have to do is create a 'tmp' directory under
  1714. the phpMyAdmin install directory, with permissions 777 and the same owner as
  1715. the owner of your phpMyAdmin directory. The uploaded files will be moved there,
  1716. and after execution of your SQL commands, removed.
  1717.  
  1718. 1.12 I have lost my MySQL root password, what can I do?
  1719.  
  1720. The MySQL manual explains how to reset the permissions.
  1721.  
  1722. 1.13 I get an error 'No SQL query' when trying to execute a bookmark.
  1723.  
  1724. If PHP does not have read/write access to its upload_tmp_dir, it cannot access
  1725. the uploaded query.
  1726.  
  1727. 1.14 I get an error 'No SQL query' when trying to submit a query from the
  1728. convenient text area.
  1729.  
  1730. Check the post_max_size directive from your PHP configuration file and try to
  1731. increase it.
  1732.  
  1733. 1.15 I have problems with mysql.user field names.
  1734.  
  1735. In older MySQL versions, the User and Password fields were named user and
  1736. password. Please modify your field names to align with current standards.
  1737.  
  1738. 1.16 I cannot upload big dump files (memory, HTTP or timeout problems).
  1739.  
  1740. Starting with version 2.7.0, the import engine has been re?written and these
  1741. problems should not occur. If possible, upgrade your phpMyAdmin to the latest
  1742. version to take advantage of the new import features.
  1743.  
  1744. The first things to check (or ask your host provider to check) are the values
  1745. of upload_max_filesize, memory_limit and post_max_size in the php.ini
  1746. configuration file. All of these three settings limit the maximum size of data
  1747. that can be submitted and handled by PHP. One user also said that post_max_size
  1748. and memory_limit need to be larger than upload_max_filesize.
  1749.  
  1750. There exist several workarounds if your upload is too big or your hosting
  1751. provider is unwilling to change the settings:
  1752.  
  1753.   * Look at the $cfg['UploadDir'] feature. This allows one to upload a file to
  1754.     the server via scp, ftp, or your favorite file transfer method. PhpMyAdmin
  1755.     is then able to import the files from the temporary directory. More
  1756.     information is available in the Configuration section of this document.
  1757.   * Using a utility (such as BigDump) to split the files before uploading. We
  1758.     cannot support this or any third party applications, but are aware of users
  1759.     having success with it.
  1760.   * If you have shell (command line) access, use MySQL to import the files
  1761.     directly. You can do this by issuing the "source" command from within
  1762.     MySQL: source filename.sql.
  1763.  
  1764. 1.17 Which MySQL versions does phpMyAdmin support?
  1765.  
  1766. All MySQL versions from 3.23.32 till 5.0 (except for 4.1.0 and 4.1.1) are fully
  1767. supported. Please note that the older your MySQL version is, the more
  1768. limitations you will have to face.
  1769. phpMyAdmin may connect to your MySQL server using php's classic MySQL extension
  1770. as well as the improved MySQL extension (MySQLi) that is available in php 5.0.
  1771. Either way, the developers of both extensions recommend to use the classic
  1772. extension for MySQL 4.0 and below and MySQLi for MySQL 4.1 and newer.
  1773. When compiling php, we strongly recommend that you manually link the MySQL
  1774. extension of your choice to a MySQL client library of at least the same minor
  1775. version since the one that is bundled with some php distributions is rather old
  1776. and might cause problems (see FAQ 1.17a). If your webserver is running on a
  1777. windows system, you might want to try MySQL's Connector/PHP instead of the
  1778. MySQL / MySQLi extensions that are bundled with the official php Win32 builds.
  1779. MySQL 5.1 is not yet supported.
  1780.  
  1781. 1.17a I cannot connect to the MySQL server. It always returns the error
  1782. message, "Client does not support authentication protocol requested by server;
  1783. consider upgrading MySQL client"
  1784.  
  1785. You tried to access MySQL with an old MySQL client library. The version of your
  1786. MySQL client library can be checked in your phpinfo() output. In general, it
  1787. should have at least the same minor version as your server - as mentioned in
  1788. FAQ 1.17.
  1789.  
  1790. This problem is generally caused by using MySQL version 4.1 or newer. MySQL
  1791. changed the authentication hash and your PHP is trying to use the old method.
  1792. The proper solution is to use the mysqli extension with the proper client
  1793. library to match your MySQL installation. Your chosen extension is specified in
  1794. $cfg['Servers'][$i]['extension']. More information (and several workarounds)
  1795. are located in the MySQL Documentation.
  1796.  
  1797. 1.18 I'm running MySQL <= 4.0.1 having lower_case_table_names set to 1. If I
  1798. create a new table with a capital letter in its name it is changed to lowercase
  1799. as it should. But if I try to DROP this table MySQL is unable to find the
  1800. corresponding file.
  1801.  
  1802. This is a bug of MySQL <= 4.0.1. Please upgrade to at least MySQL 4.0.2 or turn
  1803. off your lower_case_table_names directive.
  1804.  
  1805. 1.19 I can't run the "display relations" feature because the script seems not
  1806. to know the font face I'm using!
  1807.  
  1808. The "FPDF" library we're using for this feature requires some special files to
  1809. use font faces.
  1810. Please refers to the FPDF manual to build these files.
  1811.  
  1812. 1.20 I receive the error "cannot load MySQL extension, please check PHP
  1813. Configuration".
  1814.  
  1815. To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL
  1816. extension". This extension may be part of the PHP distribution (compiled-in),
  1817. otherwise it needs to be loaded dynamically. Its name is probably mysql.so or
  1818. php_mysql.dll. phpMyAdmin tried to load the extension but failed.
  1819.  
  1820. Usually, the problem is solved by installing a software package called
  1821. "PHP-MySQL" or something similar.
  1822.  
  1823. 1.21 I am running the CGI version of PHP under Unix, and I cannot log in using
  1824. cookie auth.
  1825.  
  1826. In php.ini, set mysql.max_links higher than 1.
  1827.  
  1828. 1.22 I don't see the "Location of text file" field, so I cannot upload.
  1829.  
  1830. This is most likely because in php.ini, your file_uploads parameter is not set
  1831. to "on".
  1832.  
  1833. 1.23 I'm running MySQL on a Win32 machine. Each time I create a new table the
  1834. table and field names are changed to lowercase!
  1835.  
  1836. This happens because the MySQL directive lower_case_table_names defaults to 1
  1837. (ON) in the Win32 version of MySQL. You can change this behavior by simply
  1838. changing the directive to 0 (OFF):
  1839. Just edit your my.ini file that should be located in your Windows directory and
  1840. add the following line to the group [mysqld]:
  1841.  
  1842. set-variable = lower_case_table_names=0
  1843.  
  1844. Next, save the file and restart the MySQL service. You can always check the
  1845. value of this directive using the query
  1846.  
  1847. SHOW VARIABLES LIKE 'lower_case_table_names';
  1848.  
  1849. 1.24 Some characters are being truncated in my queries, or I get characters
  1850. randomly added. I am running PHP 4.2.3.
  1851.  
  1852. This is a PHP 4.2.3 bug.
  1853.  
  1854. 1.25 I am running Apache with mod_gzip-1.3.26.1a on Windows XP, and I get
  1855. problems, such as undefined variables when I run a SQL query.
  1856.  
  1857. A tip from Jose Fandos: put a comment on the following two lines in httpd.conf,
  1858. like this:
  1859.  
  1860. # mod_gzip_item_include file \.php$
  1861. # mod_gzip_item_include mime "application/x-httpd-php.*"
  1862.  
  1863. as this version of mod_gzip on Apache (Windows) has problems handling PHP
  1864. scripts. Of course you have to restart Apache.
  1865.  
  1866. 1.26 I just installed phpMyAdmin in my document root of IIS but I get the error
  1867. "No input file specified" when trying to run phpMyAdmin.
  1868.  
  1869. This is a permission problem. Right-click on the phpmyadmin folder and choose
  1870. properties. Under the tab Security, click on "Add" and select the user
  1871. "IUSR_machine" from the list. Now set his permissions and it should work.
  1872.  
  1873. 1.27 I get empty page when I want to view huge page (eg.
  1874. db_details_structure.php with plenty of tables).
  1875.  
  1876. This is a PHP bug that occur when GZIP output buffering is enabled. If you turn
  1877. off it (by $cfg['OBGzip'] = false in config.inc.php), it should work. This bug
  1878. will be fixed in PHP 5.0.0.
  1879.  
  1880. 1.28 My MySQL server sometimes refuses queries and returns the message
  1881. 'Errorcode: 13'. What does this mean?
  1882.  
  1883. This can happen due to a MySQL bug when having database / table names with
  1884. upper case characters although lower_case_table_names is set to 1. To fix this,
  1885. turn off this directive, convert all database and table names to lower case and
  1886. turn it on again. Alternatively, there's a bug-fix available starting with
  1887. MySQL 3.23.56 / 4.0.11-gamma.
  1888.  
  1889. 1.29 When I create a table or modify a field, I get an error and the fields are
  1890. duplicated.
  1891.  
  1892. It is possible to configure Apache in such a way that PHP has problems
  1893. interpreting .php files.
  1894.  
  1895. The problems occur when two different (and conflicting) set of directives are
  1896. used:
  1897.  
  1898. SetOutputFilter PHP
  1899. SetInputFilter PHP
  1900.  
  1901. and
  1902.  
  1903. AddType application/x-httpd-php .php
  1904.  
  1905. In the case we saw, one set of directives was in /etc/httpd/conf/httpd.conf,
  1906. while the other set was in /etc/httpd/conf/addon-modules/php.conf.
  1907. The recommended way is with AddType, so just comment out the first set of lines
  1908. and restart Apache:
  1909.  
  1910. #SetOutputFilter PHP
  1911. #SetInputFilter PHP
  1912.  
  1913. 1.30 I get the error "navigation.php: Missing hash".
  1914.  
  1915. This problem is known to happen when the server is running Turck MMCache but
  1916. upgrading MMCache to version 2.3.21 solves the problem.
  1917.  
  1918. 1.31 Does phpMyAdmin support php5?
  1919.  
  1920. Yes.
  1921. However, phpMyAdmin needs to be backwards compatible to php4. This is why
  1922. phpMyAdmin disables the E_STRICT error_level in error_reporting settings.
  1923.  
  1924. 1.32 Can I use HTTP authentication with IIS?
  1925.  
  1926. Yes. This procedure was tested with phpMyAdmin 2.6.1, PHP 4.3.9 in ISAPI mode
  1927. under IIS 5.1.
  1928.  
  1929.  1. In your php.ini file, set cgi.rfc2616_headers = 0
  1930.  2. In Web Site Properties -> File/Directory Security -> Anonymous Access
  1931.     dialog box, check the Anonymous access checkbox and uncheck any other
  1932.     checkboxes (i.e. uncheck Basic authentication, Integrated Windows
  1933.     authentication, and Digest if it's enabled.) Click OK.
  1934.  3. In Custom Errors, select the range of 401;1 through 401;5 and click the Set
  1935.     to Default button.
  1936.  
  1937. 1.33 Is there a problem with the mysqli extension when running PHP 5.0.4 on
  1938. 64-bit systems?
  1939.  
  1940. Yes. This problem affects phpMyAdmin ("Call to undefined function
  1941. pma_reloadnavigation"), so upgrade your PHP to the next version.
  1942.  
  1943. 1.34 Can I access directly to database or table pages?
  1944.  
  1945. Yes. Out of the box, you can use URLs like http://server/phpMyAdmin/index.php?
  1946. db=database&table=table&target=script. Table and script parts are optional. If
  1947. you want http://server/phpMyAdmin/database[/table][/script] URLs, you need to
  1948. do some configuration. Following lines apply only for Apache web server. First
  1949. make sure, that you have enabled some features within global configuration. You
  1950. need Options FollowSymLinks and AllowOverride FileInfo enabled for directory
  1951. where phpMyAdmin is installed and you need mod_rewrite to be enabled. Then you
  1952. just need to create following .htaccess file in root folder of phpMyAdmin
  1953. installation (don't forget to change directory name inside of it):
  1954.  
  1955. RewriteEngine On
  1956. RewriteBase /path_to_phpMyAdmin
  1957. RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/([a-z_]+\.php)$ index.php?db=$1&table=$2&target=$3 [R]
  1958. RewriteRule ^([a-zA-Z0-9_]+)/([a-z_]+\.php)$ index.php?db=$1&target=$2 [R]
  1959. RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)$ index.php?db=$1&table=$2 [R]
  1960. RewriteRule ^([a-zA-Z0-9_]+)$ index.php?db=$1 [R]
  1961.  
  1962. 1.35 Can I use HTTP authentication with Apache CGI?
  1963.  
  1964. Yes. However you need to pass authentication variable to CGI using following
  1965. rewrite rule:
  1966.  
  1967. RewriteEngine On
  1968. RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
  1969.  
  1970. 1.36 I get an error "500 Internal Server Error".
  1971.  
  1972. There can be many explanations to this and a look at your server's error log
  1973. file might give a clue.
  1974.  
  1975. 1.37 I run phpMyAdmin on cluster of different machines and password encryption
  1976. in cookie auth doesn't work.
  1977.  
  1978. If your cluster consist of different architectures, PHP code used for
  1979. encryption/decryption won't work correct. This is caused by use of pack/unpack
  1980. functions in code. Only solution is to use mcrypt extension which works fine in
  1981. this case.
  1982.  
  1983. Configuration
  1984.  
  1985. 2.1 The error message "Warning: Cannot add header information - headers already
  1986. sent by ..." is displayed, what's the problem?
  1987.  
  1988. Edit your config.inc.php file and ensure there is nothing (I.E. no blank lines,
  1989. no spaces, no characters...) neither before the <?php tag at the beginning,
  1990. neither after the ?> tag at the end.
  1991.  
  1992. 2.2 phpMyAdmin can't connect to MySQL. What's wrong?
  1993.  
  1994. Either there is an error with your PHP setup or your username/password is
  1995. wrong. Try to make a small script which uses mysql_connect and see if it works.
  1996. If it doesn't, it may be you haven't even compiled MySQL support into PHP.
  1997.  
  1998. 2.3 The error message "Warning: MySQL Connection Failed: Can't connect to local
  1999. MySQL server through socket '/tmp/mysql.sock' (111) ..." is displayed. What can
  2000. I do?
  2001.  
  2002. For RedHat users, Harald Legner suggests this on the mailing list:
  2003.  
  2004. On my RedHat-Box the socket of MySQL is /var/lib/mysql/mysql.sock. In your
  2005. php.ini you will find a line
  2006.  
  2007. mysql.default_socket = /tmp/mysql.sock
  2008.  
  2009. change it to
  2010.  
  2011. mysql.default_socket = /var/lib/mysql/mysql.sock
  2012.  
  2013. Then restart apache and it will work.
  2014.  
  2015. Here is a fix suggested by Brad Ummer:
  2016.  
  2017.   * First, you need to determine what socket is being used by MySQL.
  2018.     To do this, telnet to your server and go to the MySQL bin directory. In
  2019.     this directory there should be a file named mysqladmin. Type ./mysqladmin
  2020.     variables, and this should give you a bunch of info about your MySQL
  2021.     server, including the socket (/tmp/mysql.sock, for example).
  2022.   * Then, you need to tell PHP to use this socket.
  2023.     To do this in phpMyAdmin, you need to complete the socket information in
  2024.     the config.inc.php.
  2025.     For example: $cfg['Servers'][$i]['socket'] = '/tmp/mysql.sock';
  2026.  
  2027.     Please also make sure that the permissions of this file allow to be
  2028.     readable by your webserver (i.e. '0755').
  2029.  
  2030. Have also a look at the corresponding section of the MySQL documentation.
  2031.  
  2032. 2.4 Nothing is displayed by my browser when I try to run phpMyAdmin, what can I
  2033. do?
  2034.  
  2035. Try to set the $cfg['OBGZip'] directive to FALSE in the phpMyAdmin
  2036. configuration file. It helps sometime.
  2037. Also have a look at your PHP version number: if it contains "4.0b..." it means
  2038. you're running a beta version of PHP. That's not a so good idea, please upgrade
  2039. to a plain revision.
  2040.  
  2041. 2.5 Each time I want to insert or change a record or drop a database or a
  2042. table, an error 404 (page not found) is displayed or, with HTTP or cookie
  2043. authentication, I'm asked to log in again. What's wrong?
  2044.  
  2045. Check the value you set for the $cfg['PmaAbsoluteUri'] directive in the
  2046. phpMyAdmin configuration file.
  2047.  
  2048. 2.6 I get an "Access denied for user: 'root@localhost' (Using password: YES)
  2049. "-error when trying to access a MySQL-Server on a host which is port-forwarded
  2050. for my localhost.
  2051.  
  2052. When you are using a port on your localhost, which you redirect via
  2053. port-forwarding to another host, MySQL is not resolving the localhost as
  2054. expected.
  2055. Erik Wasser explains: The solution is: if your host is "localhost" MySQL (the
  2056. commandline tool 'mysql' as well) always tries to use the socket connection for
  2057. speeding up things. And that doesn't work in this configuration with port
  2058. forwarding.
  2059. If you enter "127.0.0.1" as hostname, everything is right and MySQL uses the
  2060. TCP connection.
  2061.  
  2062. 2.7 Using and creating themes
  2063.  
  2064. Themes are configured with $cfg['ThemePath'], $cfg['ThemeManager'] and $cfg
  2065. ['ThemeDefault'].
  2066.  
  2067. Under $cfg['ThemePath'], you should not delete the directory "original" or its
  2068. underlying structure, because this is the system theme used by phpMyAdmin.
  2069. "original" contains all images and styles, for backwards compatibility and for
  2070. all themes that would not include images or css-files.
  2071.  
  2072. If $cfg['ThemeManager'] is enabled, you can select your favorite theme on the
  2073. main page. Your selected theme will be stored in a cookie.
  2074.  
  2075.  
  2076. To create a theme:
  2077.  
  2078.   * make a new subdirectory (for example "your_theme_name") under $cfg
  2079.     ['ThemePath'] (by default themes)
  2080.   * copy the files and directories from "original" to "your_theme_name"
  2081.   * edit the css-files in "your_theme_name/css"
  2082.   * put your new images in "your_theme_name/img"
  2083.   * edit layout.inc.php in "your_theme_name"
  2084.   * edit info.inc.php in "your_theme_name" to contain your chosen theme name,
  2085.     that will be visible in user interface
  2086.   * make a new screenshot of your theme and save it under "your_theme_name/
  2087.     screen.png"
  2088.  
  2089. In theme directory there is file info.inc.php which contains theme verbose
  2090. name, theme generation and theme version. These versions and generations are
  2091. enumerated from 1 and do not have any direct dependence on phpMyAdmin version.
  2092. Themes within same generation should be backwards compatible - theme with
  2093. version 2 should work in phpMyAdmin requiring version 1. Themes with different
  2094. generation are incompatible.
  2095.  
  2096. If you do not want to use your own symbols and buttons, remove the directory
  2097. "img" in "your_theme_name". phpMyAdmin will use the default icons and buttons
  2098. (from the system-theme "original").
  2099.  
  2100. 2.8 I get "Missing parameters" errors, what can I do?
  2101.  
  2102. Here are a few points to check:
  2103.  
  2104.   * In config.inc.php, try to leave the $cfg['PmaAbsoluteUri'] directive empty.
  2105.     See also FAQ 4.7.
  2106.   * Maybe you have a broken PHP installation or you need to upgrade your Zend
  2107.     Optimizer. See http://bugs.php.net/bug.php?id=31134.
  2108.   * If you are using Hardened PHP with the ini directive
  2109.     varfilter.max_request_variables set to the default (200) or another low
  2110.     value, you could get this error if your table has a high number of columns.
  2111.     Adjust this setting accordingly. (Thanks to Klaus Dorninger for the hint).
  2112.   * In the php.ini directive arg_separator.input, a value of ";" will cause
  2113.     this error. Replace it with "&;".
  2114.   * If you are using Hardened-PHP, you might want to increase request limits.
  2115.  
  2116. Known limitations
  2117.  
  2118. 3.1 When using HTTP authentication, an user who logged out can not log in again
  2119. in with the same nick.
  2120.  
  2121. This is related to the authentication mechanism (protocol) used by phpMyAdmin.
  2122. To bypass this problem: just close all the opened browser windows and then go
  2123. back to phpMyAdmin. You should be able to log in again.
  2124.  
  2125. 3.2 When dumping a large table in compressed mode, I get a memory limit error
  2126. or a time limit error.
  2127.  
  2128. Compressed dumps are built in memory and because of this are limited to php's
  2129. memory limit. For GZip/BZip2 exports this can be overcome since 2.5.4 using
  2130. $cfg['CompressOnFly'] (enabled by default). Zip exports can not be handled this
  2131. way, so if you need Zip files for larger dump, you have to use another way.
  2132.  
  2133. 3.3 With InnoDB tables, I lose foreign key relationships when I rename or alter
  2134. a table.
  2135.  
  2136. This seems to be a InnoDB bug (fixed in MySQL 3.23.50?).
  2137.  
  2138. 3.4 I am unable to import dumps I created with the mysqldump tool bundled with
  2139. the MySQL server distribution.
  2140.  
  2141. The problem is that mysqldump creates invalid comments like this:
  2142.  
  2143. -- MySQL dump 8.22
  2144. --
  2145. -- Host: localhost Database: database
  2146. ---------------------------------------------------------
  2147. -- Server version 3.23.54
  2148.  
  2149. The invalid part of the code is the horizontal line made of dashes that appears
  2150. once in every dump created with mysqldump. If you want to run your dump you
  2151. have to turn it into valid MySQL. This means, you have to add a whitespace
  2152. after the first two dashes of the line or add a # before it:
  2153. -- -------------------------------------------------------
  2154. or
  2155. #---------------------------------------------------------
  2156.  
  2157. 3.5 When using nested folders there are some multiple hierarchies displayed in
  2158. a wrong manner?! ($cfg['LeftFrameTableSeparator'])
  2159.  
  2160. Please note that you should not use the separating string multiple times
  2161. without any characters between them, or at the beginning/end of your table
  2162. name. If you have to, think about using another TableSeparator or disabling
  2163. that feature
  2164.  
  2165. 3.6 What is currently not supported in phpMyAdmin about InnoDB?
  2166.  
  2167. In Relation view, being able to choose a table in another database, or having
  2168. more than one index field in the foreign key.
  2169.  
  2170. In Query-by-example (Query), automatic generation of the query LEFT JOIN from
  2171. the foreign table.
  2172.  
  2173.  
  2174. 3.7 I have table with many (100+) fields and when I try to browse table I get
  2175. series of errors like "Warning: unable to parse url". How can this be fixed?
  2176.  
  2177. Your table neither have a primary key nor an unique one, so we must use a long
  2178. expression to identify this row. This causes problems to parse_url function.
  2179. The workaround is to create a primary or unique key.
  2180.  
  2181. 3.8 I cannot use (clickable) HTML-forms in fields where I put a
  2182. MIME-Transformation onto!
  2183.  
  2184. Due to a surrounding form-container (for multi-row delete checkboxes), no
  2185. nested forms can be put inside the table where phpMyAdmin displays the results.
  2186. You can, however, use any form inside of a table if keep the parent
  2187. form-container with the target to tbl_row_delete.php and just put your own
  2188. input-elements inside. If you use a custom submit input field, the form will
  2189. submit itself to the displaying page again, where you can validate the
  2190. $HTTP_POST_VARS in a transformation. For a tutorial on how to effectively use
  2191. transformations, see our Link section on the official phpMyAdmin-homepage.
  2192.  
  2193. 3.9 I get error messages when using "--sql_mode=ANSI" for the MySQL server
  2194.  
  2195. When MySQL is running in ANSI-compatibility mode, there are some major
  2196. differences in how SQL is structured (see http://dev.mysql.com/doc/mysql/en/
  2197. ANSI_mode.html). Most important of all, the quote-character (") is interpreted
  2198. as an identifier quote character and not as a string quote character, which
  2199. makes many internal phpMyAdmin operations into invalid SQL statements. There is
  2200. no workaround to this behaviour. News to this item will be posted in Bug report
  2201. #816858
  2202.  
  2203. 3.10 Homonyms and no primary key: When the results of a SELECT display more
  2204. that one column with the same value (for example SELECT lastname from employees
  2205. where firstname like 'A%' and two "Smith" values are displayed), if I click
  2206. Edit I cannot be sure that I am editing the intended row.
  2207.  
  2208. Please make sure that your table has a primary key, so that phpMyAdmin can use
  2209. it for the Edit and Delete links.
  2210.  
  2211. 3.11 The number of records for InnoDB tables is not correct.
  2212.  
  2213. phpMyAdmin uses a quick method to get the row count, and this method only
  2214. returns an approximate count in the case of InnoDB tables. See $cfg
  2215. ['MaxExactCount'] for a way to modify those results, but this could have a
  2216. serious impact on performance.
  2217.  
  2218. 3.12 What are the phpMyAdmin limitations for MySQL 3?
  2219.  
  2220. The number of records in queries containing COUNT and GROUP BY is not correctly
  2221. calculated. Also, sorting results of a query like "SELECT * from table GROUP
  2222. BY" ... is problematic.
  2223.  
  2224. 3.13 I get an error when entering USE followed by a db name containing an
  2225. hyphen.
  2226.  
  2227. The tests I have made with current MySQL 4.1.11 API shows that the API does not
  2228. accept this syntax for the USE command. Enclosing the db name with backquotes
  2229. works. For further confusion, no backquotes are needed with command-line mysql.
  2230.  
  2231. ISPs, multi-user installations
  2232.  
  2233. 4.1 I'm an ISP. Can I setup one central copy of phpMyAdmin or do I need to
  2234. install it for each customer.
  2235.  
  2236. Since version 2.0.3, you can setup a central copy of phpMyAdmin for all your
  2237. users. The development of this feature was kindly sponsored by NetCologne GmbH.
  2238. This requires a properly setup MySQL user management and phpMyAdmin HTTP or
  2239. cookie authentication. See the install section on "Using HTTP authentication".
  2240.  
  2241. 4.2 What's the preferred way of making phpMyAdmin secure against evil access.
  2242.  
  2243. This depends on your system.
  2244. If you're running a server which cannot be accessed by other people, it's
  2245. sufficient to use the directory protection bundled with your webserver (with
  2246. Apache you can use .htaccess files, for example).
  2247. If other people have telnet access to your server, you should use phpMyAdmin's
  2248. HTTP or cookie authentication features.
  2249.  
  2250. Suggestions:
  2251.  
  2252.   * Your config.inc.php file should be chmod 660.
  2253.   * All your phpMyAdmin files should be chown -R phpmy.apache, where phpmy is a
  2254.     user whose password is only known to you, and apache is the group under
  2255.     which Apache runs.
  2256.   * You should use PHP safe mode, to protect from other users that try to
  2257.     include your config.inc.php in their scripts.
  2258.  
  2259. 4.3 I get errors about not being able to include a file in /lang or in /
  2260. libraries.
  2261.  
  2262. Check php.ini, or ask your sysadmin to check it. The include_path must contain
  2263. "." somewhere in it, and open_basedir, if used, must contain "." and "./lang"
  2264. to allow normal operation of phpMyAdmin.
  2265.  
  2266. 4.4 phpMyAdmin always gives "Access denied" when using HTTP authentication.
  2267.  
  2268. This could happen for several reasons:
  2269.  
  2270.   * $cfg['Servers'][$i]['controluser'] and/or $cfg['Servers'][$i]
  2271.     ['controlpass'] are wrong.
  2272.   * The username/password you specify in the login dialog are invalid.
  2273.   * You have already setup a security mechanism for the phpMyAdmin-directory,
  2274.     eg. a .htaccess file. This would interfere with phpMyAdmin's
  2275.     authentication, so remove it.
  2276.  
  2277. 4.5 Is it possible to let users create their own databases?
  2278.  
  2279. Starting with 2.2.5, in the user management page, you can enter a wildcard
  2280. database name for a user (for example "joe%"), and put the privileges you want.
  2281. For example, adding SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER
  2282. would let a user create/manage his/her database(s).
  2283.  
  2284. 4.6 How can I use the Host-based authentication additions?
  2285.  
  2286. If you have existing rules from an old .htaccess file, you can take them and
  2287. add a username between the 'deny'/'allow' and 'from' strings. Using the
  2288. username wildcard of '%' would be a major benefit here if your installation is
  2289. suited to using it. Then you can just add those updated lines into the $cfg
  2290. ['Servers'][$i]['AllowDeny']['rules'] array.
  2291.  
  2292. If you want a pre-made sample, you can try this fragment. It stops the 'root'
  2293. user from logging in from any networks other than the private network IP
  2294. blocks.
  2295.  
  2296. //block root from logging in except from the private networks
  2297. $cfg['Servers'][$i]['AllowDeny']['order'] = 'deny,allow';
  2298. $cfg['Servers'][$i]['AllowDeny']['rules'] = array(
  2299.     'deny root from all',
  2300.     'allow root from localhost',
  2301.     'allow root from 10.0.0.0/8',
  2302.     'allow root from 192.168.0.0/16',
  2303.     'allow root from 172.16.0.0/12',
  2304.     );
  2305.  
  2306. 4.7 Authentication window is displayed more than once, why?
  2307.  
  2308. This happens if you are using a URL to start phpMyAdmin which is different than
  2309. the one set in your $cfg['PmaAbsoluteUri']. For example, a missing "www", or
  2310. entering with an IP address while a domain name is defined in the config file.
  2311.  
  2312. Browsers or client OS
  2313.  
  2314. 5.1 I get an out of memory error, and my controls are non-functional, when
  2315. trying to create a table with more than 14 fields.
  2316.  
  2317. We could reproduce this problem only under Win98/98SE. Testing under WinNT4 or
  2318. Win2K, we could easily create more than 60 fields.
  2319. A workaround is to create a smaller number of fields, then come back to your
  2320. table properties and add the other fields.
  2321.  
  2322. 5.2 With Xitami 2.5b4, phpMyAdmin won't process form fields.
  2323.  
  2324. This is not a phpMyAdmin problem but a Xitami known bug: you'll face it with
  2325. each script/website that use forms.
  2326. Upgrade or downgrade your Xitami server.
  2327.  
  2328. 5.3 I have problems dumping tables with Konqueror (phpMyAdmin 2.2.2).
  2329.  
  2330. With Konqueror 2.1.1: plain dumps, zip and GZip dumps work ok, except that the
  2331. proposed file name for the dump is always 'tbl_dump.php'. Bzip2 dumps don't
  2332. seem to work.
  2333. With Konqueror 2.2.1: plain dumps work; zip dumps are placed into the user's
  2334. temporary directory, so they must be moved before closing Konqueror, or else
  2335. they disappear. GZip dumps give an error message.
  2336. Testing needs to be done for Konqueror 2.2.2.
  2337.  
  2338. 5.4 I can't use the cookie authentication mode because Internet Explorer never
  2339. stores the cookies.
  2340.  
  2341. MS Internet Explorer seems to be really buggy about cookies, at least till
  2342. version 6. And thanks to Andrew Zivolup we've traced also a PHP 4.1.1 bug in
  2343. this area!
  2344. Then, if you're running PHP 4.1.1, try to upgrade or downgrade... it may work!
  2345.  
  2346. 5.5 In Internet Explorer 5.0, I get JavaScript errors when browsing my rows.
  2347.  
  2348. Upgrade to at least Internet Explorer 5.5 SP2.
  2349.  
  2350. 5.6 In Internet Explorer 5.0, 5.5 or 6.0, I get an error (like "Page not
  2351. found") when trying to modify a row in a table with many fields, or with a text
  2352. field
  2353.  
  2354. Your table neither have a primary key nor an unique one, so we must use a long
  2355. URL to identify this row. There is a limit on the length of the URL in those
  2356. browsers, and this not happen in Netscape, for example. The workaround is to
  2357. create a primary or unique key, or use another browser.
  2358.  
  2359. 5.7 I refresh (reload) my browser, and come back to the welcome page.
  2360.  
  2361. Some browsers support right-clicking into the frame you want to refresh, just
  2362. do this in the right frame.
  2363.  
  2364. 5.8 With Mozilla 0.9.7 I have problems sending a query modified in the query
  2365. box.
  2366.  
  2367. Looks like a Mozilla bug: 0.9.6 was OK. We will keep an eye on future Mozilla
  2368. versions.
  2369.  
  2370. 5.9 With Mozilla 0.9.? to 1.0 and Netscape 7.0-PR1 I can't type a whitespace in
  2371. the SQL-Query edit area: the page scrolls down.
  2372.  
  2373. This is a Mozilla bug (see bug #26882 at BugZilla).
  2374.  
  2375. 5.10 With Netscape 4.75 I get empty rows between each row of data in a CSV
  2376. exported file.
  2377.  
  2378. This is a known Netscape 4.75 bug: it adds some line feeds when exporting data
  2379. in octet-stream mode. Since we can't detect the specific Netscape version, we
  2380. cannot workaround this bug.
  2381.  
  2382. 5.11 Extended-ASCII characters like German umlauts are displayed wrong.
  2383.  
  2384. Please ensure that you have set your browser's character set to the one of the
  2385. language file you have selected on phpMyAdmin's start page. Alternatively, you
  2386. can try the auto detection mode that is supported by the recent versions of the
  2387. most browsers.
  2388.  
  2389. 5.12 Mac OS X: Safari browser changes special characters to "?".
  2390.  
  2391. This issue has been reported by a OS X user, who adds that Chimera, Netscape
  2392. and Mozilla do not have this problem.
  2393.  
  2394. 5.13 With Internet Explorer 5.5 or 6, and HTTP authentication type, I cannot
  2395. manage two servers: I log in to the first one, then the other one, but if I
  2396. switch back to the first, I have to log in on each operation.
  2397.  
  2398. This is a bug in Internet Explorer, other browsers do not behave this way.
  2399.  
  2400. 5.14 Using Opera6, I can manage to get to the authentication, but nothing
  2401. happens after that, only a blank screen.
  2402.  
  2403. Having $cfg['QueryFrameJS'] set o TRUE, this leads to a bug in Opera6, because
  2404. it is not able to interpret frameset definitions written by JavaScript. Please
  2405. upgrade your phpMyAdmin installtion or to Opera7 at least.
  2406.  
  2407. 5.15 I have display problems with Safari.
  2408.  
  2409. Please upgrade to at least version 1.2.3.
  2410.  
  2411. 5.16 With Internet Explorer, I get "Access is denied" Javascript errors. Or I
  2412. cannot make phpMyAdmin work under Windows.
  2413.  
  2414. Please check the following points:
  2415.  
  2416.   * Maybe you have defined your PmaAbsoluteUri setting in config.inc.php to an
  2417.     IP address and you are starting phpMyAdmin with a URL containing a domain
  2418.     name, or the reverse situation.
  2419.   * Security settings in IE and/or Microsoft Security Center are too high, thus
  2420.     blocking scripts execution.
  2421.   * The Windows Firewall is blocking Apache and MySQL. You must allow HTTP
  2422.     ports (80 or 443) and MySQL port (usually 3306) in the "in" and "out"
  2423.     directions.
  2424.  
  2425. 5.17 With Firefox, I cannot delete rows of data or drop a database.
  2426.  
  2427. Many users have confirmed that the Tabbrowser Extensions plugin they installed
  2428. in their Firefox is causing the problem.
  2429.  
  2430. Using phpMyAdmin
  2431.  
  2432. 6.1 I can't insert new rows into a table / I can't create a table - MySQL
  2433. brings up a SQL-error.
  2434.  
  2435. Examine the SQL error with care. Often the problem is caused by specifying a
  2436. wrong field-type.
  2437. Common errors include:
  2438.  
  2439.   * Using VARCHAR without a size argument
  2440.   * Using TEXT or BLOB with a size argument
  2441.  
  2442. Also, look at the syntax chapter in the MySQL manual to confirm that your
  2443. syntax is correct.
  2444.  
  2445. 6.2 When I create a table, I click the Index checkbox for 2 fields and
  2446. phpMyAdmin generates only one index with those 2 fields.
  2447.  
  2448. In phpMyAdmin 2.2.0 and 2.2.1, this is the way to create a multi-fields index.
  2449. If you want two indexes, create the first one when creating the table, save,
  2450. then display the table properties and click the Index link to create the other
  2451. index.
  2452.  
  2453. 6.3 How can I insert a null value into my table?
  2454.  
  2455. Since version 2.2.3, you have a checkbox for each field that can be null.
  2456. Before 2.2.3, you had to enter "null", without the quotes, as the field's
  2457. value. Since version 2.5.5, you have to use the checkbox to get a real NULL
  2458. value, so if you enter "NULL" this means you want a literal NULL in the field,
  2459. and not a NULL value (this works in PHP4).
  2460.  
  2461. 6.4 How can I backup my database or table?
  2462.  
  2463. Click on a database or table name in the left frame, the properties will be
  2464. displayed. Then on the menu, click "Export", you can dump the structure, the
  2465. data, or both. This will generate standard SQL statements that can be used to
  2466. recreate your database/table.
  2467.  
  2468. You will need to choose "Save as file", so that phpMyAdmin can transmit the
  2469. resulting dump to your station. Depending on your PHP configuration, you will
  2470. see options to compress the dump. See also the $cfg['ExecTimeLimit']
  2471. configuration variable.
  2472.  
  2473. For additional help on this subject, look for the word "dump" in this document.
  2474.  
  2475. 6.5 How can I restore (upload) my database or table using a dump? How can I run
  2476. a ".sql" file?
  2477.  
  2478. Click on a database name in the left frame, the properties will be displayed.
  2479. Select "Import" from the list of tabs in the right?hand frame (or "SQL" if your
  2480. phpMyAdmin version is older than 2.7.0). In the "Location of the text file"
  2481. section, type in the path to your dump filename, or use the Browse button. Then
  2482. click Go.
  2483.  
  2484. With version 2.7.0, the import engine has been re?written, if possible it is
  2485. suggested that you upgrade to take advantage of the new features.
  2486.  
  2487. For additional help on this subject, look for the word "upload" in this
  2488. document.
  2489.  
  2490. 6.6 How can I use the relation table in Query-by-example?
  2491.  
  2492. Here is an example with the tables persons, towns and countries, all located in
  2493. the database mydb. If you don't have a pma_relation table, create it as
  2494. explained in the configuration section. Then create the example tables:
  2495.  
  2496. CREATE TABLE REL_countries (
  2497.     country_code char(1) NOT NULL default '',
  2498.     description varchar(10) NOT NULL default '',
  2499.     PRIMARY KEY (country_code)
  2500. ) TYPE=MyISAM;
  2501.  
  2502. INSERT INTO REL_countries VALUES ('C', 'Canada');
  2503.  
  2504. CREATE TABLE REL_persons (
  2505.     id tinyint(4) NOT NULL auto_increment,
  2506.     person_name varchar(32) NOT NULL default '',
  2507.     town_code varchar(5) default '0',
  2508.     country_code char(1) NOT NULL default '',
  2509.     PRIMARY KEY (id)
  2510. ) TYPE=MyISAM;
  2511.  
  2512. INSERT INTO REL_persons VALUES (11, 'Marc', 'S', '');
  2513. INSERT INTO REL_persons VALUES (15, 'Paul', 'S', 'C');
  2514.  
  2515. CREATE TABLE REL_towns (
  2516.     town_code varchar(5) NOT NULL default '0',
  2517.     description varchar(30) NOT NULL default '',
  2518.     PRIMARY KEY (town_code)
  2519. ) TYPE=MyISAM;
  2520.  
  2521. INSERT INTO REL_towns VALUES ('S', 'Sherbrooke');
  2522. INSERT INTO REL_towns VALUES ('M', 'Montre'al');
  2523.  
  2524. To setup appropriate links and display information:
  2525.  
  2526.   * on table "REL_persons" click Structure, then Relation view
  2527.   * in Links, for "town_code" choose "REL_towns->code"
  2528.   * in Links, for "country_code" choose "REL_countries->country_code"
  2529.   * on table "REL_towns" click Structure, then Relation view
  2530.   * in "Choose field to display", choose "description"
  2531.   * repeat the two previous steps for table "REL_countries"
  2532.  
  2533. Then test like this:
  2534.  
  2535.   * Click on your db name in the left frame
  2536.   * Choose "Query"
  2537.   * Use tables: persons, towns, countries
  2538.   * Click "Update query"
  2539.   * In the fields row, choose persons.person_name and click the "Show" tickbox
  2540.   * Do the same for towns.description and countries.descriptions in the other 2
  2541.     columns
  2542.   * Click "Update query" and you will see in the query box that the correct
  2543.     joins have been generated
  2544.   * Click "Submit query"
  2545.  
  2546. 6.7 How can I use the "display field" feature?
  2547.  
  2548. Starting from the previous example, create the pma_table_info as explained in
  2549. the configuration section, then browse your persons table, and move the mouse
  2550. over a town code or country code.
  2551.  
  2552. See also FAQ 6.21 for an additional feature that "display field" enables:
  2553. drop-down list of possible values.
  2554.  
  2555. 6.8 How can I produce a PDF schema of my database?
  2556.  
  2557. First the configuration variables "relation", "table_coords" and "pdf_pages"
  2558. have to be filled in.
  2559.  
  2560. Then you need to think about your schema layout. Which tables will go on which
  2561. pages?
  2562.  
  2563.   * Select your database in the left frame.
  2564.   * Choose "Operations" in the navigation bar at the top.
  2565.   * Choose "Edit PDF Pages" near the bottom of the page.
  2566.   * Enter a name for the first PDF page and click Go. If you like, you can use
  2567.     the "automatic layout," which will put all your linked tables onto the new
  2568.     page.
  2569.   * Select the name of the new page (making sure the Edit radio button is
  2570.     selected) and click Go.
  2571.   * Select a table from the list, enter its coordinates and click Save.
  2572.     Coordinates are relative; your diagram will be automatically scaled to fit
  2573.     the page. When initially placing tables on the page, just pick any
  2574.     coordinates -- say, 50x50. After clicking Save, you can then use the
  2575.     graphical editor to position the element correctly.
  2576.   * When you'd like to look at your PDF, first be sure to click the Save button
  2577.     beneath the list of tables and coordinates, to save any changes you made
  2578.     there. Then scroll all the way down, select the PDF options you want, and
  2579.     click Go.
  2580.   * Internet Explorer for Windows may suggest an incorrect filename when you
  2581.     try to save a generated PDF. When saving a generated PDF, be sure that the
  2582.     filename ends in ".pdf", for example "schema.pdf". Browsers on other
  2583.     operating systems, and other browsers on Windows, do not have this problem.
  2584.  
  2585. 6.9 phpMyAdmin is changing the type of one of my columns!
  2586.  
  2587. No, it's MySQL that is doing silent column type changing.
  2588.  
  2589. 6.10 When creating a privilege, what happens with underscores in the database
  2590. name?
  2591.  
  2592. If you do not put a backslash before the underscore, this is a wildcard grant,
  2593. and the underscore means "any character". So, if the database name is
  2594. "john_db", the user would get rights to john1db, john2db ...
  2595.  
  2596. If you put a backslash before the underscore, it means that the database name
  2597. will have a real underscore.
  2598.  
  2599. 6.11 What is the curious symbol o/ in the statistics pages?
  2600.  
  2601. It means "average".
  2602.  
  2603. 6.12 I want to understand some Export options.
  2604.  
  2605. Structure:
  2606.  
  2607.   * "Add DROP TABLE" will add a line telling MySQL to drop the table, if it
  2608.     already exists during the import. It does NOT drop the table after your
  2609.     export, it only affects the import file.
  2610.   * "If Not Exists" will only create the table if it doesn't exist. Otherwise,
  2611.     you may get an error if the table name exists but has a different
  2612.     structure.
  2613.   * "Add AUTO_INCREMENT value" ensures that AUTO_INCREMENT value (if any) will
  2614.     be included in backup.
  2615.   * "Enclose table and field names with backquotes" ensures that field and
  2616.     table names formed with special characters are protected.
  2617.   * "Add into comments" includes column comments, relations, and MIME types set
  2618.     in the pmadb in the dump as SQL comments (/* xxx */).
  2619.  
  2620. Data:
  2621.  
  2622.   * "Complete inserts" adds the column names on every INSERT command, for
  2623.     better documentation (but resulting file is bigger).
  2624.   * "Extended inserts" provides a shorter dump file by using only once the
  2625.     INSERT verb and the table name.
  2626.   * "Delayed inserts" are best explained in the MySQL manual.
  2627.   * "Ignore inserts" treats errors as a warning instead. Again, more info is
  2628.     provided in the MySQL manual, but basically with this selected, invalid
  2629.     values are adjusted and inserted rather than causing the entire statement
  2630.     to fail.
  2631.  
  2632. 6.13 I would like to create a database with a dot in its name.
  2633.  
  2634. This is a bad idea, because in MySQL the syntax "database.table" is the normal
  2635. way to reference a database and table name. Worse, MySQL will usually let you
  2636. create a database with a dot, but then you cannot work with it, nor delete it.
  2637.  
  2638. 6.14 How do I set up the SQL Validator?
  2639.  
  2640. To use it, you need a very recent version of PHP, 4.3.0 recommended, with XML,
  2641. PCRE and PEAR support. On your system command line, run "pear install
  2642. Net_Socket Net_URL HTTP_Request Mail_Mime Net_DIME SOAP" to get the necessary
  2643. PEAR modules for usage.
  2644. On a more recent pear version, I had problems with the state of Net_DIME being
  2645. beta, so this single command "pear -d preferred_state=beta install -a SOAP"
  2646. installed all the needed modules.
  2647. If you use the Validator, you should be aware that any SQL statement you submit
  2648. will be stored anonymously (database/table/column names, strings, numbers
  2649. replaced with generic values). The Mimer SQL Validator itself, is (C) 2001
  2650. Upright Database Technology. We utilize it as free SOAP service.
  2651.  
  2652. 6.15 I want to add a BLOB field and put an index on it, but MySQL says "BLOB
  2653. column '...' used in key specification without a key length".
  2654.  
  2655. The right way to do this, is to create the field without any indexes, then
  2656. display the table structure and use the "Create an index" dialog. On this page,
  2657. you will be able to choose your BLOB field, and set a size to the index, which
  2658. is the condition to create an index on a BLOB field.
  2659.  
  2660. 6.16 How can I simply move in page with plenty editing fields?
  2661.  
  2662. You can use Ctrl+arrows (Option+Arrows in Safari) for moving on most pages with
  2663. many editing fields (table structure changes, row editing, etc.) (must be
  2664. enabled in configuration - see. $cfg['CtrlArrowsMoving']). You can also have a
  2665. look at the directive $cfg['DefaultPropDisplay'] ('vertical') and see if this
  2666. eases up editing for you.
  2667.  
  2668. 6.17 Transformations: I can't enter my own mimetype! WTF is this feature then
  2669. useful for?
  2670.  
  2671. Slow down :). Defining mimetypes is of no use, if you can't put transformations
  2672. on them. Otherwise you could just put a comment on the field. Because entering
  2673. your own mimetype will cause serious syntax checking issues and validation,
  2674. this introduces a high-risk false-user-input situation. Instead you have to
  2675. initialize mimetypes using functions or empty mimetype definitions.
  2676. Plus, you have a whole overview of available mimetypes. Who knows all those
  2677. mimetypes by heart so he/she can enter it at will?
  2678.  
  2679. 6.18 Bookmarks: Where can I store bookmarks? Why can't I see any bookmarks
  2680. below the query box? What is this variable for?
  2681.  
  2682. Any query you have executed can be stored as a bookmark on the page where the
  2683. results are displayed. You will find a button labeled 'Bookmark this query'
  2684. just at the end of the page.
  2685. As soon as you have stored a bookmark, it is related to the database you run
  2686. the query on. You can now access a bookmark dropdown on each page, the query
  2687. box appears on for that database.
  2688.  
  2689. Since phpMyAdmin 2.5.0 you are also able to store variables for the bookmarks.
  2690. Just use the string /*[VARIABLE]*/ anywhere in your query. Everything which is
  2691. put into the value input box on the query box page will replace the string "/*
  2692. [VARIABLE]*/" in your stored query. Just be aware of that you HAVE to create a
  2693. valid query, otherwise your query won't be even able to be stored in the
  2694. database.
  2695. Also remember, that everything else inside the /*[VARIABLE]*/ string for your
  2696. query will remain the way it is, but will be stripped of the /**/ chars. So you
  2697. can use:
  2698.  
  2699. /*, [VARIABLE] AS myname */
  2700.  
  2701. which will be expanded to
  2702.  
  2703. , VARIABLE as myname
  2704.  
  2705. in your query, where VARIABLE is the string you entered in the input box. If an
  2706. empty string is provided, no replacements are made.
  2707.  
  2708. A more complex example. Say you have stored this query:
  2709.  
  2710. SELECT Name, Address FROM addresses WHERE 1 /* AND Name LIKE '%[VARIABLE]%' */
  2711.  
  2712. Say, you now enter "phpMyAdmin" as the variable for the stored query, the full
  2713. query will be:
  2714.  
  2715. SELECT Name, Address FROM addresses WHERE 1 AND Name LIKE '%phpMyAdmin%'
  2716.  
  2717. You can use multiple occurrences of /*[VARIABLE]*/ in a single query.
  2718. NOTE THE ABSENCE OF SPACES inside the "/**/" construct. Any spaces inserted
  2719. there will be later also inserted as spaces in your query and may lead to
  2720. unexpected results especially when using the variable expansion inside of a
  2721. "LIKE ''" expression.
  2722. Your initial query which is going to be stored as a bookmark has to yield at
  2723. least one result row so you can store the bookmark. You may have that to work
  2724. around using well positioned "/**/" comments.
  2725.  
  2726. 6.19 How can I create simple L^AT[E]X document to include exported table?
  2727.  
  2728. You can simply include table in your L^AT[E]X documents, minimal sample
  2729. document should look like following one (assuming you have table exported in
  2730. file table.tex):
  2731.  
  2732. \documentclass{article} % or any class you want
  2733. \usepackage{longtable}  % for displaying table
  2734. \begin{document}        % start of document
  2735. \include{table}         % including exported table
  2736. \end{document}          % end of document
  2737.  
  2738. 6.20 In MySQL 4, I see a lot of databases which are not mine, and cannot access
  2739. them.
  2740.  
  2741. Upgrading to MySQL 4 usually gives users those global privileges: CREATE
  2742. TEMPORARY TABLES, SHOW DATABASES, LOCK TABLES. Those privileges also enable
  2743. users to see all the database names. See this bug report.
  2744.  
  2745. So if your users do not need those privileges, you can remove them and their
  2746. databases list will shorten.
  2747.  
  2748. 6.21 In edit/insert mode, how can I see a list of possible values for a field,
  2749. based on some foreign table?
  2750.  
  2751. You have to setup appropriate links between the tables, and also setup the
  2752. "display field" in the foreign table. See FAQ 6.6 for an example. Then, if
  2753. there are 200 values or less in the foreign table, a drop-down list of values
  2754. will be available. You will see two lists of values, the first list containing
  2755. the key and the display field, the second list containing the display field and
  2756. the key. The reason for this is to be able to type the first letter of either
  2757. the key or the display field.
  2758.  
  2759. For 200 values or more, a distinct window will appear, to browse foreign key
  2760. values and choose one.
  2761.  
  2762. 6.22 Bookmarks: Can I execute a default bookmark automatically when entering
  2763. Browse mode for a table?
  2764.  
  2765. Yes. If a bookmark has the same label as a table name, it will be executed.
  2766.  
  2767. 6.23 Export: I heard phpMyAdmin can export Microsoft Excel files, how can I
  2768. enable that?
  2769.  
  2770. Current version does support direct export to Microsoft Excel and Word versions
  2771. 2000 and newer. If you need export older versions, you can use CSV suitable for
  2772. Microsoft Excel, which works out of the box or you can try native experimental
  2773. MS Excel exporter. This export has several problems, most important are
  2774. limitation of cell content to 255 chars and no support for charsets, so think
  2775. carefully whether you want to enable this.. For enabling this you need to set
  2776. $cfg['TempDir'] to place where web server user can write (for example './tmp')
  2777. and install PEAR module Spreadsheet_Excel_Writer into php include path. The
  2778. installation can be done by following command:
  2779.  
  2780. pear -d preferred_state=beta install -a Spreadsheet_Excel_Writer
  2781.  
  2782. First part of switches set we want to install beta version of that module (no
  2783. stable version available yet) and then we tell pear we want to satisfy
  2784. dependencies.
  2785.  
  2786. If you are running in PHP safe mode, you will have to set in php.ini the
  2787. safe_mode_include_dir to the directory where your PEAR modules are located, for
  2788. example:
  2789.  
  2790. safe_mode_include_dir = /usr/local/lib/php
  2791.  
  2792. To create the temporary directory on a UNIX-based system, you can do:
  2793.  
  2794. cd phpMyAdmin
  2795. mkdir tmp
  2796. chmod o+rwx tmp
  2797.  
  2798. 6.24 Now that phpMyAdmin supports native MySQL 4.1.x column comments, what
  2799. happens to my column comments stored in pmadb?
  2800.  
  2801. Automatic migration of a table's pmadb-style column comments to the native ones
  2802. is done whenever you enter Structure page for this table.
  2803.  
  2804. phpMyAdmin project
  2805.  
  2806. 7.1 I have found a bug. How do I inform developers?
  2807.  
  2808. Our Bug Tracker is located at http://sf.net/projects/phpmyadmin/ under the Bugs
  2809. section.
  2810.  
  2811. But please first discuss your bug with other users:
  2812. http://sf.net/projects/phpmyadmin/ (and choose Forums)
  2813.  
  2814. 7.2 I want to translate the messages to a new language or upgrade an existing
  2815. language, where do I start?
  2816.  
  2817. Always use the current SVN version of your language file. For a new language,
  2818. start from english-iso-8859-1.inc.php. If you don't know how to get the SVN
  2819. version, please ask one of the developers.
  2820. Please note that we try not to use HTML entities like é in the
  2821. translations, since we define the right character set in the file. With HTML
  2822. entities, the text on JavaScript messages would not display correctly. However
  2823. there are some entities that need to be there, for quotes ,non-breakable
  2824. spaces, ampersands, less than, greater than.
  2825. You can then put your translations, as a zip file to avoid losing special
  2826. characters, on the sourceforge.net translation tracker.
  2827. It would be a good idea to subscribe to the phpmyadmin-translators mailing
  2828. list, because this is where we ask for translations of new messages.
  2829.  
  2830. 7.3 I would like to help out with the development of phpMyAdmin. How should I
  2831. proceed?
  2832.  
  2833. The following method is preferred for new developers:
  2834.  
  2835.  1. fetch the current SVN tree over anonymous SVN:
  2836.     svn co https://svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyAdmin
  2837.  2. add your stuff
  2838.  3. generate patch with your changes: svn diff
  2839.  4. put the patch inside the patch tracker of the phpMyAdmin project.
  2840.  
  2841. Write access to the SVN tree is granted only to experienced developers who have
  2842. already contributed something useful to phpMyAdmin.
  2843. Also, have a look at the Developers section.
  2844.  
  2845. Security
  2846.  
  2847. 8.1 Where can I get information about the security alerts issued for
  2848. phpMyAdmin?
  2849.  
  2850. Please refer to http://www.phpmyadmin.net/home_page/security.php
  2851.  
  2852. Developers Information
  2853.  
  2854. phpMyAdmin is Open Source, so you're invited to contribute to it. Many great
  2855. features have been written by other people and you too can help to make
  2856. phpMyAdmin a useful tool.
  2857.  
  2858. If you're planning to contribute source, please read the following information:
  2859.  
  2860.   * All files include libraries/header.inc.php (layout),. libraries/
  2861.     common.lib.php (common functions) and config.inc.php.
  2862.     Only configuration data should go in config.inc.php. Please keep it free
  2863.     from other code.
  2864.     Commonly used functions should be added to libraries/common.lib.php and
  2865.     more specific ones may be added within a library stored into the libraries
  2866.     sub-directory.
  2867.   * Obviously, you're free to use whatever coding style you want. But please
  2868.     try to keep your code as simple as possible: beginners are using phpMyAdmin
  2869.     as an example application.
  2870.     As far as possible, we want the scripts to be XHTML1.0 and CSS2 compliant
  2871.     on one hand, they fit the PEAR coding standards on the other hand. Please
  2872.     pay attention to this.
  2873.   * Please try to keep up the file-naming conventions. Table-related stuff goes
  2874.     to tbl_*.php, db-related code to db_*.php, server-related tools to
  2875.     server_*.php and so on.
  2876.   * Please don't use verbose strings in your code, instead add the string (at
  2877.     least) to english-iso-8859-1.inc.php and print() it out.
  2878.   * If you want to be really helpful, write an entry for the ChangeLog.
  2879.   * The DBG extension (PHP Debugger DBG) is now supported by phpMyAdmin for
  2880.     developers to better debug and profile their code.
  2881.     Please see the $cfg['DBG']* configuration options for more information.
  2882.     This is in memoriam of the Space Shuttle Columbia (STS-107) which was lost
  2883.     during its re-entry into Earth's atmosphere and in memory of the brave men
  2884.     and women who gave their lives for the people of Earth.
  2885.  
  2886. Credits
  2887.  
  2888. phpMyAdmin - Credits
  2889. ====================
  2890.  
  2891. CREDITS, in chronological order
  2892. -------------------------------
  2893.  
  2894. - Tobias Ratschiller <tobias_at_ratschiller.com>
  2895.     * creator of the phpmyadmin project
  2896.     * maintainer from 1998 to summer 2000
  2897.  
  2898. - Marc Delisle <Marc.Delisle_at_cegepsherbrooke.qc.ca>
  2899.     * multi-language version
  2900.     * various fixes and improvements
  2901.     * SQL analyser (most of it)
  2902.     * current project maintainer
  2903.  
  2904. - Olivier Mu:ller <om_at_omnis.ch>
  2905.     * started SourceForge phpMyAdmin project in March 2001
  2906.     * sync'ed different existing CVS trees with new features and bugfixes
  2907.     * multi-language improvements, dynamic language selection
  2908.     * current project maintainer
  2909.     * many bugfixes and improvements
  2910.  
  2911. - Loi:c Chapeaux <lolo_at_phpheaven.net>
  2912.     * rewrote and optimized javascript, DHTML and DOM stuff
  2913.     * rewrote the scripts so they fit the PEAR coding standards and
  2914.       generate XHTML1.0 and CSS2 compliant codes
  2915.     * improved the language detection system
  2916.     * many bugfixes and improvements
  2917.  
  2918. - Robin Johnson <robbat2_at_users.sourceforge.net>
  2919.     * database maintenance controls
  2920.     * table type code
  2921.     * Host authentication IP Allow/Deny
  2922.     * DB-based configuration (Not completed)
  2923.     * SQL parser and pretty-printer
  2924.     * SQL validator
  2925.     * many bugfixes and improvements
  2926.  
  2927. - Armel Fauveau <armel.fauveau_at_globalis-ms.com>
  2928.     * bookmarks feature
  2929.     * multiple dump feature
  2930.     * gzip dump feature
  2931.     * zip dump feature
  2932.  
  2933. - Geert Lund <glund_at_silversoft.dk>
  2934.     * various fixes
  2935.     * moderator of the phpMyAdmin former users forum at phpwizard.net
  2936.  
  2937. - Korakot Chaovavanich <korakot_at_iname.com>
  2938.     * "insert as new row" feature
  2939.  
  2940. - Pete Kelly <webmaster_at_trafficg.com>
  2941.     * rewrote and fix dump code
  2942.     * bugfixes
  2943.  
  2944. - Steve Alberty <alberty_at_neptunlabs.de>
  2945.     * rewrote dump code for PHP4
  2946.     * mySQL table statistics
  2947.     * bugfixes
  2948.  
  2949. - Benjamin Gandon <gandon_at_isia.cma.fr>
  2950.     * main author of the version 2.1.0.1
  2951.     * bugfixes
  2952.  
  2953. - Alexander M. Turek <me_at_derrabus.de>
  2954.     * MySQL 4.0 / 4.1 / 5.0 compatibility
  2955.     * abstract database interface (PMA_DBI) with MySQLi support
  2956.     * privileges administration
  2957.     * XML exports
  2958.     * various features and fixes
  2959.     * German language file updates
  2960.  
  2961. - Mike Beck <mike.beck_at_web.de>
  2962.     * automatic joins in QBE
  2963.     * links column in printview
  2964.     * Relation view
  2965.  
  2966. - Michal ?iha? <michal_at_cihar.com>
  2967.     * enhanced index creation/display feature
  2968.     * feature to use a different charset for HTML than for MySQL
  2969.     * improvements of export feature
  2970.     * various features and fixes
  2971.     * Czech language file updates
  2972.  
  2973. - Christophe Gesche' from the "MySQL Form Generator for PHPMyAdmin"
  2974.   (http://sf.net/projects/phpmysqlformgen/)
  2975.     * suggested the patch for multiple table printviews
  2976.  
  2977. - Garvin Hicking <me_at_supergarv.de>
  2978.     * built the patch for vertical display of table rows
  2979.     * built the Javascript based Query window + SQL history
  2980.     * Improvement of column/db comments
  2981.     * (MIME)-Transformations for columns
  2982.     * Use custom alias names for Databases in left frame
  2983.     * hierarchical/nested table display
  2984.     * PDF-scratchboard for WYSIWYG-distribution of PDF relations
  2985.     * new icon sets
  2986.     * vertical display of column properties page
  2987.     * some bugfixes, features, support, German language additions
  2988.  
  2989. - Yukihiro Kawada <kawada_at_den.fujifilm.co.jp>
  2990.     * japanese kanji encoding conversion feature
  2991.  
  2992. - Piotr Roszatycki <d3xter_at_users.sourceforge.net> and Dan Wilson
  2993.     * the Cookie authentication mode
  2994.  
  2995. - Axel Sander <n8falke_at_users.sourceforge.net>
  2996.     * table relation-links feature
  2997.  
  2998. - Maxime Delorme <delorme.maxime_at_free.fr>
  2999.     * PDF schema output, thanks also to Olivier Plathey for the
  3000.       "FPDF" library (see http://www.fpdf.org/) and Steven Wittens
  3001.       for the "UFPDF" library (see http://www.acko.net/node/56).
  3002.  
  3003. - Olof Edlund <olof.edlund_at_upright.se>
  3004.     * SQL validator server
  3005.  
  3006. - Ivan R. Lanin <ivanlanin_at_users.sourceforge.net>
  3007.     * phpMyAdmin logo (until June 2004)
  3008.  
  3009. - Mike Cochrane <mike_at_graftonhall.co.nz>
  3010.     * blowfish library from the Horde project
  3011.  
  3012. - Marcel Tschopp <ne0x_at_users.sourceforge.net>
  3013.     * mysqli support
  3014.     * many bugfixes and improvements
  3015.  
  3016. - Michael Keck <mkkeck_at_users.sourceforge.net>
  3017.     * redesign for 2.6.0
  3018.     * phpMyAdmin sailboat logo (June 2004)
  3019.  
  3020. - Mathias Landha:usser
  3021.     * Representation at conferences
  3022.  
  3023. - Sebastian Mendel <cybot_tm_at_users.sourceforge.net>
  3024.     * interface improvements
  3025.     * various bugfixes
  3026.  
  3027. And also to the following people who have contributed minor changes,
  3028. enhancements, bugfixes or support for a new language since version 2.1.0:
  3029.  
  3030. Bora Alioglu, Ricardo ?, Sven-Erik Andersen, Alessandro Astarita,
  3031. Pe'ter Bakondy, Borges Botelho, Olivier Bussier, Neil Darlow,
  3032. Mats Engstrom, Ian Davidson, Laurent Dhima, Kristof Hamann, Thomas Kla:ger,
  3033. Lubos Klokner, Martin Marconcini, Girish Nair, David Nordenberg, Andreas Pauley,
  3034. Bernard M. Piller, Laurent Haas, "Sakamoto", Yuval Sarna,
  3035. www.securereality.com.au, Alexis Soulard, Alvar Soome, Siu Sun, Peter Svec,
  3036. Michael Tacelosky, Rachim Tamsjadi, Kositer Uros,
  3037. Lui's V., Martijn W. van der Lee,
  3038. Algis Vainauskas, Daniel Villanueva, Vinay, Ignacio Vazquez-Abrams, Chee Wai,
  3039. Jakub Wilk, Thomas Michael Winningham, Vilius Zigmantas, "Manuzhai".
  3040.  
  3041.  
  3042. Original Credits of Version 2.1.0
  3043. ---------------------------------
  3044.  
  3045.     This work is based on Peter Kuppelwieser's MySQL-Webadmin. It was his idea
  3046.     to create a web-based interface to MySQL using PHP3. Although I have not
  3047.     used any of his source-code, there are some concepts I've borrowed from
  3048.     him. phpMyAdmin was created because Peter told me he wasn't going to
  3049.     further develop his (great) tool.
  3050.     Thanks go to
  3051.     - Amalesh Kempf <ak-lsml_at_living-source.com> who contributed the
  3052.       code for the check when dropping a table or database. He also suggested
  3053.       that you should be able to specify the primary key on tbl_create.php3. To
  3054.       version 1.1.1 he contributed the ldi_*.php3-set (Import text-files) as
  3055.       well as a bug-report. Plus many smaller improvements.
  3056.     - Jan Legenhausen <jan_at_nrw.net>: He made many of the changes that
  3057.       were introduced in 1.3.0 (including quite significant ones like the
  3058.       authentication). For 1.4.1 he enhanced the table-dump feature. Plus
  3059.       bug-fixes and help.
  3060.     - Marc Delisle <DelislMa_at_CollegeSherbrooke.qc.ca> made phpMyAdmin
  3061.       language-independent by outsourcing the strings to a separate file. He
  3062.       also contributed the French translation.
  3063.     - Alexandr Bravo <abravo_at_hq.admiral.ru> who contributed
  3064.       tbl_select.php3, a feature to display only some fields from a table.
  3065.     - Chris Jackson <chrisj_at_ctel.net> added support for MySQL
  3066.       functions in tbl_change.php3. He also added the
  3067.       "Query by Example" feature in 2.0.
  3068.     - Dave Walton <walton_at_nordicdms.com> added support for multiple
  3069.       servers and is a regular contributor for bug-fixes.
  3070.     - Gabriel Ash <ga244_at_is8.nyu.edu> contributed the random access
  3071.       features for 2.0.6.
  3072.     The following people have contributed minor changes, enhancements, bugfixes
  3073.     or support for a new language:
  3074.     Jim Kraai, Jordi Bruguera, Miquel Obrador, Geert Lund, Thomas Kleemann,
  3075.     Alexander Leidinger, Kiko Albiol, Daniel C. Chao, Pavel Piankov,
  3076.     Sascha Kettler, Joe Pruett, Renato Lins, Mark Kronsbein, Jannis Hermanns,
  3077.     G. Wieggers.
  3078.  
  3079.     And thanks to everyone else who sent me email with suggestions, bug-reports
  3080.     and or just some feedback.
  3081.  
  3082. Glossary
  3083.  
  3084. From Wikipedia, the free encyclopedia
  3085.  
  3086.   * .htaccess - the default name of Apache's directory-level configuration
  3087.     file.
  3088.   * Blowfish - a keyed, symmetric block cipher, designed in 1993 by Bruce
  3089.     Schneier.
  3090.   * Browser (Web Browser) - a software application that enables a user to
  3091.     display and interact with text, images, and other information typically
  3092.     located on a web page at a website on the World Wide Web.
  3093.   * bzip2 - a free software/open source data compression algorithm and program
  3094.     developed by Julian Seward.
  3095.   * CGI (Common Gateway Interface) - an important World Wide Web technology
  3096.     that enables a client web browser to request data from a program executed
  3097.     on the Web server.
  3098.   * Changelog - a log or record of changes made to a project.
  3099.   * Client - a computer system that accesses a (remote) service on another
  3100.     computer by some kind of network.
  3101.   * column - a set of data values of a particular simple type, one for each row
  3102.     of the table.
  3103.   * Cookie - a packet of information sent by a server to a World Wide Web
  3104.     browser and then sent back by the browser each time it accesses that
  3105.     server.
  3106.   * CSV - Comma-seperated values
  3107.   * DB - look at Database.
  3108.   * database - an organized collection of data.
  3109.   * Engine - look at Storage Engines.
  3110.   * extension - a PHP module that extends PHP with additional functionality.
  3111.   * FAQ (Frequently Asked Questions) - a list of commonly asked question and
  3112.     there answers.
  3113.   * Field - one part of divided data/columns.
  3114.   * foreign key - a field or group of fields in a database record that point to
  3115.     a key field or group of fields forming a key of another database record in
  3116.     some (usually different) table.
  3117.   * FPDF (FreePDF) - the free PDF library
  3118.   * GD Graphics Library - a library by Thomas Boutell and others for
  3119.     dynamically manipulating images.
  3120.   * GD2 - look at GD Graphics Library.
  3121.   * gzip - gzip is short for GNU zip, a GNU free software file compression
  3122.     program.
  3123.   * host - any machine connected to a computer network, a node that has a
  3124.     hostname.
  3125.   * hostname - the unique name by which a network attached device is known on a
  3126.     network.
  3127.   * HTTP (HyperText Transfer Protocol) - the primary method used to transfer or
  3128.     convey information on the World Wide Web.
  3129.   * https - a HTTP-connection with additional security measures.
  3130.   * IIS (Internet Information Services) - a set of Internet-based services for
  3131.     servers using Microsoft Windows.
  3132.   * Index - a feature that allows quick access to the rows in a table.
  3133.   * IP (Internet Protocol) - a data-oriented protocol used by source and
  3134.     destination hosts for communicating data across a packet-switched
  3135.     internetwork.
  3136.   * IP Address - a unique number that devices use in order to identify and
  3137.     communicate with each other on a network utilizing the Internet Protocol
  3138.     standard.
  3139.   * ISAPI (Internet Server Application Programming Interface) - the API of
  3140.     Internet Information Services (IIS).
  3141.   * ISP (Internet service provider) - a business or organization that offers
  3142.     users access to the Internet and related services.
  3143.   * JPEG - a most commonly used standard method of lossy compression for
  3144.     photographic images.
  3145.   * JPG - look at JPEG.
  3146.   * Key - look at index.
  3147.   * L^AT[E]X - a document preparation system for the T[E]X typesetting program.
  3148.   * Mac (Apple Macintosh) - line of personal computers is designed, developed,
  3149.     manufactured, and marketed by Apple Computer.
  3150.   * Mac OS X - the operating system which is included with all currently
  3151.     shipping Apple Macintosh computers in the consumer and professional
  3152.     markets.
  3153.   * MCrypt - a cryptographic library.
  3154.   * mcrypt - the MCrypt PHP extension.
  3155.   * MIME (Multipurpose Internet Mail Extensions) - an Internet Standard for the
  3156.     format of e-mail.
  3157.   * module - some sort of extension for the Apache Webserver.
  3158.   * MySQL - a multithreaded, multi-user, SQL (Structured Query Language)
  3159.     Database Management System (DBMS).
  3160.   * mysqli - the improved MySQL client PHP extension.
  3161.   * mysql - the MySQL client PHP extension.
  3162.   * OpenDocument - open standard for office documents.
  3163.   * OS X - look at Mac OS X.
  3164.   * PDF (Portable Document Format) - a file format developed by Adobe Systems
  3165.     for representing two dimensional documents in a device independent and
  3166.     resolution independent format.
  3167.   * PEAR - the PHP Extension and Application Repository.
  3168.   * PCRE (Perl Compatible Regular Expressions) - the perl-compatible regular
  3169.     expression functions for PHP
  3170.   * PHP - short for "PHP: Hypertext Preprocessor", is an open-source,
  3171.     reflective programming language used mainly for developing server-side
  3172.     applications and dynamic web content, and more recently, a broader range of
  3173.     software applications.
  3174.   * port - a connection through which data is sent and received.
  3175.   * RFC - Request for Comments (RFC) documents are a series of memoranda
  3176.     encompassing new research, innovations, and methodologies applicable to
  3177.     Internet technologies.
  3178.   * RFC 1952 - GZIP file format specification version 4.3
  3179.   * Row (record, tulpel) - represents a single, implicitly structured data item
  3180.     in a table.
  3181.   * Server - a computer system that provides services to other computing
  3182.     systems over a network.
  3183.   * Storage Engines - handlers for different table types
  3184.   * socket - a form of inter-process communication.
  3185.   * SSL (Secure Sockets Layer) - a cryptographic protocol which provides secure
  3186.     communication on the Internet.
  3187.   * SQL - Structured Query Language
  3188.   * table - a set of data elements (cells) that is organized, defined and
  3189.     stored as horizontal rows and vertical columns where each item can be
  3190.     uniquely identified by a label or key or by it?s position in relation to
  3191.     other items.
  3192.   * Table type
  3193.   * tar - a type of archive file format: the Tape ARchive format.
  3194.   * TCP (Transmission Control Protocol) - one of the core protocols of the
  3195.     Internet protocol suite.
  3196.   * UFPDF - Unicode/UTF-8 extension for FPDF
  3197.   * URL (Uniform Resource Locator) - a sequence of characters, conforming to a
  3198.     standardized format, that is used for referring to resources, such as
  3199.     documents and images on the Internet, by their location.
  3200.   * Webserver - A computer (program) that is responsible for accepting HTTP
  3201.     requests from clients and serving them Web pages.
  3202.   * XML (Extensible Markup Language) - a W3C-recommended general-purpose markup
  3203.     language for creating special-purpose markup languages, capable of
  3204.     describing many different kinds of data.
  3205.   * ZIP - a popular data compression and archival format.
  3206.   * zlib - an open-source, cross-platform data compression library by Jean-loup
  3207.     Gailly and Mark Adler.
  3208.  
  3209. Valid XHTML 1.1 Valid CSS!
  3210.  
  3211.